Boilerplate For Hyperapp Applications Using Bulma CSS

in #utopian-io6 years ago (edited)

HyperBulma is a new project which empowers developers to start their single page application in minutes.

HyperBulma Sample App


HyperBulma Components


HyperBulma Flexbox Grid

About The Project

Building single page applications with Angular is not an easy task as you need to learn a lot. It is easier to build something with React and Redux, but still, you have to learn a lot of new concepts. Hyperapp shines in this context as it makes it easy to learn all the ideas you need in two or three hours.

The same applies when you compare Bootstrap and Bulma CSS. Bulma is much easier to learn.

The combination of Hyperapp and Bulma makes it uniquely suited for developers who want to build something but do not want to become frontend developers.

This boilerplate should make it quite easy to build something based on top of it. It has a great developer experience with zero configuration needed. Thank you, Parcel.

It is also easy to build the project with just one command: yarn build. If you have Netlify installed you can even deploy it with one command: netlify deploy

Technology Stack

Roadmap

  • Make it easier to use Bulma by providing Hyperapp ready components
  • Separate the sample app state from UI state
  • Enable saving and loading of app state to and from local storage
  • Switch from Fontawesome 4 to latest version
  • Add Eslint or StandardJS

Getting Started

Building your project on top of this starter is straightforward. Just clone the starter in a folder with your project's name. Then remove the git history to be able to initialize your own Git repository. Then install the dependencies with yarn. When the installation has finished, you can run the new app with yarn start. These are the steps in more detail:

git clone https://github.com/cutemachine/hyperbulma.git YOUR_PROJECT
cd YOUR_PROJECT
rm -rf .git
git init
git add .
git commit -m 'Initial version of YOUR_PROJECT'
yarn
yarn start

Demo

You can see a running version by following this link.

HyperBulma Demo

How To Contribute

Do you want to contribute to this project? Great. You can contact me through my Github profile page or just send a pull request.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.


Please always include a license file. Thanks.


You can contact us on Discord.
[utopian-moderator]

Many thanks, Vladimir.

I added a license file to the repository. Thanks for letting me know.

Hey @cutemachine I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Nice project idea Jo, I just discovered Bulma last week. There are so many new projects and tools. I've been a bit out of the loop in the past year. I didn't even have Yarn installed 🙈.

I've just tried to set this up and got an error when running yarn start or yarn build could totally just be me or my setup. Not 100% sure what the expected result for yarn start is I assume it packages it run friendly in browser or should it start some other build tools?

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here

Screen Shot 2018-02-13 at 12.41.28.png

​Thanks for trying Sam :)

Well, I just cloned the project from GitHub and had no issues. Here are the steps of what I did:

git clone https://github.com/cutemachine/hyperbulma.git
cd hyperbulma
rm -rf .git
yarn
yarn start

I'm using the same version of yarn (1.3.2). When you call yarn start it looks into the package.json and tries to find a script called start and executes it. So what gets run is parcel src/index.html.

I would guess that it is an issue with Parcel or Babel. Which OS are you on?

Have you tried running npm run start?

BTW. The build tool is Parcel.

What version of Node have you installed? I am on version v.8.9.1 (node --version).

yarn start usually starts a local development server and serves the application on localhost:1234. When you point your browser to the URL you should see the running app.

Okay we're up and running! Looks like it was my node version that wasn't compatible with parcel. Server fires up as expect now 👍

This post has received gratitude of 2.43 % from @appreciator thanks to: @cutemachine.

You got a 38.58% upvote from @mercurybot courtesy of @cutemachine!

You got a 2.02% upvote from @buildawhale courtesy of @cutemachine!
If you believe this post is spam or abuse, please report it to our Discord #abuse channel.

If you want to support our Curation Digest or our Spam & Abuse prevention efforts, please vote @themarkymark as witness.

This post has received a 26.67 % upvote from @moneymatchgaming thanks to: @cutemachine. Upvote this Post to Support the MMG Community on Steemit! :)

Release the Kraken! You got a 32.55% upvote from @seakraken courtesy of @cutemachine!

Thank you cutemachine for making a transfer to me for an upvote of 6.25% on this post!

Half of your bid goes to @budgets which funds growth projects for Steem like our top 25 posts on Steem!

The other half helps holders of Steem power earn about 60% APR on a delegation to me!

For help, will you please visit https://jerrybanfield.com/contact/ because I check my discord server daily?

To learn more about Steem, will you please use http://steem.guide/ because this URL forwards to my most recently updated complete Steem tutorial?

Coin Marketplace

STEEM 0.32
TRX 0.12
JST 0.033
BTC 64647.16
ETH 3160.49
USDT 1.00
SBD 4.13