GitHub - rzgry/Express-REST-API-Template: Minimal starter project for a Node.js RESTful API based off express generator

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Running in development

Running in production

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