We were supposed to create and deploy our own API, this week using data stored in a MongoDB database.
Short on time this week, so I focused on getting a hang of the basics.
Technologies used:
- Express
- Cors
- Dotenv
- Mongoose
- MongoDB
- MongoDB Compass
- MongoDB Atlas
- Google Cloud
https://project-mongo-api-4jvehtmy3a-lz.a.run.app/
All titles: https://project-mongo-api-4jvehtmy3a-lz.a.run.app/titles
Search for a specific type, e.g: https://project-mongo-api-4jvehtmy3a-lz.a.run.app/titles?type=TV
Search for a title with a specific _id, e.g: https://project-mongo-api-4jvehtmy3a-lz.a.run.app/titles/id/646286b6d5a20f9364b4a8f1