Skip to content

Instantly share code, notes, and snippets.

@matthewstokeley
Last active February 5, 2020 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewstokeley/0725ec2e6c01db12191e27d5fe063dcf to your computer and use it in GitHub Desktop.
Save matthewstokeley/0725ec2e6c01db12191e27d5fe063dcf to your computer and use it in GitHub Desktop.
node - express boot script
#! /usr/bin/bash
# @version 0.0.1
# @todo integrate with node-express-boilerplate
if [ config.js -e ]
then
touch config.js
fi
echo "ENV=DEVELOPMENT" >> config.js
npm install express --save
# database and data abstraction layer
npm install postgresql
# cache layer / object store
npm install redis
# machine formatting
if [ .prettierrc -e ]
then
touch .prettierrc
fi
npm install --save-dev standard prettier editorconfig
# logging
mkdir logs && touch logs/.gitkeep && npm install winston --save-dev
# static analyis
# unit tests
npm install mocha jasmine chai --save-dev
# perf testing
npm install --save-dev @zowe/perf-timing
# load testing
# service stubbing / mocking
npm install --save-dev axios moxios supertest
# telemetry
# template
npm install --save jade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment