Skip to content

Latest commit

 

History

History
executable file
·
26 lines (18 loc) · 540 Bytes

README.md

File metadata and controls

executable file
·
26 lines (18 loc) · 540 Bytes

starter-node-api

NodeJS + Express + TypeScript api

A simple app with GET, PUT, POST, and DELETE endpoints for users and tasks

Install It

npm install

Run It

Run in development mode (must have instance of MongoDB running):

mongod
npm run dev

Try It

  • Point you're browser to http://localhost:3000
  • Invoke the example REST endpoint curl http://localhost:3000/api/v1/examples, curl http://localhost:3000/api/v1/users, curl http://localhost:3000/api/v1/tasks