To quickly test ideas I created a small, simple boilerplate that contains an http server and the basic folder structure. So that one can also create new projects faster, the repo is created as a template.
There are two ways to use the boilerplate:
- As a template in GitHub
- As a cloned repository
- Click on "Use this template" on the github repo site.
- Fill in all the fields "Repository name" and "Description (optional)" and decide if the repo should be public or private.
- Click on "Create repository from template" to create the repo.
- Clone the new repo afterwards
- Clone the repo - what a easy step 😉
- Open the folder in the terminal
- Run
npm install
- To start the server run
npm run dev
- Now you can develop within the public folder and have fun 🎉
This template is using http-server