`( πŸ§˜πŸΏβ€β™€οΈ βΈ¬ πŸ§˜πŸ½β€β™‚οΈ

June 25, 2022 Β· View on GitHub

Continuous Integration Discord Chat

This is heavily outdated

I mostly now use the NextJS starter.

( πŸ§˜πŸΏβ€β™€οΈ βΈ¬ πŸ§˜πŸ½β€β™‚οΈ | 🧘🏻 ) Single-Page-Application Starter

πŸŽ’ Preparations

Any real adventurer prepares their trip. For this trip you need to equip your computer with the following supplies:

πŸ–₯ Developing

We recommend using Storybook during development but you can also locally start the application.

πŸ“— Using Storybook

A very nice workflow for building frontends is to use Storybook. You write stories for your components and immediately see them in action. This frees you from having to click through your UI to finally find your component. It also frees you from having to simulate error states; you just write a story for that.

To run storybook run:

npx yarn storybook

πŸƒπŸ½β€β™€οΈ Running the whole application

To see the project in your browser run:

npx yarn start

πŸ§ͺ Testing

To run the tests issue this command

npx yarn test

πŸ›  Building

If you would like to create an HTML and a JavaScript file on your computer, this is how:

πŸŽ’Preparations

You need to equip your computer with Zephyr. If you have trouble with this, please open an issue on this Github Repository and we will help you!

πŸ“¦ Bundling

To create a bundle that is essentially an index.html and an index.js file run the following command:

npx yarn bundle

πŸ‘Ÿ Running

To run the bundle open the file ./dist/index.html in your favourite browser.