Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 583 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 583 Bytes

WV API Workshop

This repository contains the starter code for the WV API Workshop!

Slides: pending

API Setup

  1. npm install
  2. Create a .env file containing: PORT=3000 MONGOOSE_PORT=mongodb://localhost:27017/[db name, we use apiworkshop]
  3. Using MongoDB Compass/whatever floats your boat, create a db containing two collections: rovers and moons
  4. npm start

Postman

  1. Import the environment json provided in the postman folder
  2. Import our collection by link method: https://www.postman.com/collections/e3e118eae76ff0500eec
  3. Request ALL THE THINGS!! :D