A minimal, web server boilerplate in NodeJS using ExpressJS and express-handlebars.
- Serve static files from
/public
- Use vanilla CSS
public/styles/styles.css
- Simple
.handlebars
templates and partials from/views
and/views/partials
- Create custom helpers in
helpers.js
- Install Node/NPM
- Clone this repository
- Install packages -
npm install
- Start the server -
npm start
When running locally, the server will start on http://localhost:3000/
We've used this boilerplate as the starting point for components of Wethrift and Searchmy.bio.
Deploy simple-express-handlebars-boilerplate to Heroku with one click from the Heroku Elements Marketplace.
Alternatively, install the Heroku CLI, clone this repo and create a new app.