Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-handlebars-boilerplate

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-handlebars-boilerplate

Boilerplate for server-side rendering using Handlebars and Express when you need a simple HTML/CSS page

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Express Handlebars Boilerplate

Boilerplate for server-side rendering using Handlebars and Express when you need a simple HTML/CSS page

Create environment variables

cp .env.example .env

How to build:

  1. Install Node
  2. Install NPM

To install packages

npm install

To build & start webservice

npm start

OR

node app.js [port] [process title] [process.pid file]

(Default settings) Available URLs:

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

To run tests

npm test

License

MIT license;

Keywords

FAQs

Package last updated on 05 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc