Skip to content

Minimal starter project for a Node.js RESTful API based off express generator

License

Notifications You must be signed in to change notification settings

rzgry/Express-REST-API-Template

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •