Starting template for jsblocks project
Run the project
- Clone the repository or directly download it from here
git clone https://github.com/astoilkov/jsblocks-seed.git
- Install dependencies. Navigate to the folder and run:
- Run the application
The rendering is enabled by running app.js file which creates an express application.
The command below executes
node app.js and then navigates to
http://localhost:8000 in your browser.
npm run node
The app directory contains all files needed to run the application. The idea is to be able to use the app folder individually without the need of the files in the root directory:
The root directory contains project helper files:
app.js --> The code used to run the application with server-side rendering package.json --> Manages npm packages. For more information about npm visit http://npmjs.com .gitignore --> File describing which files and folders to be skipped when pushing to GitHub README.md --> This file LICENCE --> The licence of this project