This project showcases what we've learned to make an api that will access a "movie" collection in our mongoDB database
- Clone it locally and run
npm i(in the terminal) to install all dependencies - rename the
credentials-example.jstocredentials.jsand edit theuristring to either be the one you get from your own cloud.mongodb.com cluster (under the "connect" button) OR you can usmongodb://localhost:27017if you want to connect to a local instance. - you can add new movies by sending a valid JSON body to
http://localhost:4001/add-movieand get movies by going tohttp://localhost:4001/get-movies