Skip to content

motherfogger/epapi

Repository files navigation

epapi

expressJS + postgres + api setup

tech includes

expressJS
postgreSQL node-postgres
jwt
REST API (json)

Running in development

Clone the repo or setup your way to epapi-stack

 git clone https://github.com/motherfogger/epapi.git

Install bash cd epapi npm install

Setup .env file (copy from .env.sample) and Run

npm run dev

Run database seed (optional if starting development to have dummy users)

npm run seed

Running in production

npm start

Runs on localhost:3000 by default but can be configured using the PORT environment variable.


Running tests

npm test

# Watch repo
npm run test:watch

Linting

npm run lint
npm run lint:fix

About

express + postgres + api setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published