expressJS + postgres + api setup
expressJS
postgreSQL node-postgres
jwt
REST API (json)
Clone the repo or setup your way to epapi-stack
git clone https://github.com/motherfogger/epapi.gitInstall
bash cd epapi npm install
Setup .env file (copy from .env.sample) and Run
npm run devRun database seed (optional if starting development to have dummy users)
npm run seednpm startRuns on localhost:3000 by default but can be configured using the PORT environment variable.
npm test
# Watch repo
npm run test:watchnpm run lint
npm run lint:fix