Skip to content
/ NodeJSStarter Public template

My preferred starter application for NodeJS

License

Notifications You must be signed in to change notification settings

gpimblott/NodeJSStarter

Repository files navigation

Example NodeJS application

This is an example application written using NodeJS, Express, Handlebars and Passport. It includes a login page and a main application index page, any unauthenticated requests are redirected to the login page. Only a single user is created by default (or possible).

The following environment variables can be used to configure the application:

  • COOKIE_KEY - Secret cookie key
  • COOKIE_NAME - Name of the cookie
  • ENV - set to 'development' to get debug output
  • DEFAULT_USER - Single default user (default='admin')
  • DEFAULT_PASSWORD - Password for default user (default='password')

##Installation

Clone this repo
npm install
run './bin.www.js'

About

My preferred starter application for NodeJS

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published