View Code? Open in Web Editor
NEW
(DEPRECATED) Express boilerplate with the essentials
License: MIT License
JavaScript 98.55%
CSS 1.45%
simple-express-boilerplate's Introduction
Express 4.x application with the basics
Install dependecies (some might need to use sudo
for various reasons):
npm install -g gulp
npm install
Set environment variables
PORT
- Port exposed by this component.
- example:
3000
DEBUG
- Debug output (* for all)
- example:
*
NODE_ENV
- Environment ('development', 'production')
- example:
development
APPSECRET
- Application session secret
- example:
sOmeCrAzYhAsH894372
API_PATH
- Path to the client REST api (relative)
- example:
/api
gulp
- navigate your browser to
http://localhost:3000
simple-express-boilerplate's People
Contributors
Stargazers
Watchers