Use this teamplate as a boilerplate to build a dynamic HTML website using Node.js, Javascript, Jquery and scss using the Parcel builder in just five simple steps.
- Clone the git repo. This will add all the necesary files including the website file under
srcfolder
git clone https://github.com/vipl0ve/nodejs-html-jquery-boilerplate.git
cd nodejs-html-jquery-boilerplate
- Run Yarn to install all dependencies
yarn
- Build the website using
yarn build. This should create adestfolder and all projects files dynamically
yarn build
- Create server. This will create a localserver to host the website. This will also watch and update any changes made in the src folder.
yarn watch
- Open the localhost mentioned in the termial to view the website live. For example -
$ parcel src/index.html
Server running at http://localhost:1234
✨ Built in 2.30s.
To learn how to build this project from scratch, check out my medium blog which is coming soon.