All Projects → jaredpetersen → nodejs-api-template

jaredpetersen / nodejs-api-template

Licence: MIT License
Simple template for creating a Node.js REST API

Programming Languages

javascript
184084 projects - #8 most used programming language

Node.js REST API Template

Build Status

Simple template for creating a Node.js REST API

Endpoints

  • GET /health: Gets API health status
  • GET /tasks: Lists all tasks
  • POST /tasks: Intentionally buggy route, returns an error
  • null: Default route, returns 404 as the endpoint requested does not exist

Usage

npm install
npm test
npm run test-coverage
npm start
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].