Skip to content

evanhiroshige/Basic-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic-REST-API

This is a basic REST API. Allows CRUD operations on arbitrary objects.

Setup:

  1. Donwload this repository
  2. Enter $mongod on command line
  3. Enter $npm run start
  4. In Postman, if running locally, use url http://localhost:3000/api/, otherwise, https://hiroshige-rest-api.herokuapp.com/api/.

Testing:

Click button below and set environment variables.

Run in Postman

OR

Import test file Tests.postman_collection.json into Postman. Setup environment by setting a variable url to http://localhost:3000/api/, if testing locally or https://hiroshige-rest-api.herokuapp.com/api/.

Releases

No releases published

Packages

No packages published