Boilerplate for server-side rendering using Handlebars and Express when you need a simple HTML/CSS page
cp .env.example .env
- Install Node
- Install NPM
To install packages
npm install
npm start
OR
node app.js [port] [process title] [process.pid file]
Basic ping request:
http://localhost:3000/ping
Basic handlebars templating example:
http://localhost:3000/home
Basic handlebars templating with partials example:
http://localhost:3000/homeWithPartials
An example with calling API to get data for the template:
http://localhost:3000/users/anvk/repos?token=SOME-KEY-HERE
npm test
MIT license;