Last active
February 5, 2020 16:35
-
-
Save matthewstokeley/0725ec2e6c01db12191e27d5fe063dcf to your computer and use it in GitHub Desktop.
node - express boot script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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