example workflow code style: prettier

Express-REST-API-Template

Simple express boilerplate based off of express-generator. Includes eslint and prettier for linting/code formatting, nodemon for automatic server restarting, and Jest for testing.

Getting Started

Install dependencies

npm install

Running in development

npm run dev

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

# fix issues
npm run lint:fix