Express-REST-API-Template
Express-REST-API-Template copied to clipboard
Minimal starter project for a Node.js RESTful API based off express generator
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