-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
project-mongo-api #478
base: master
Are you sure you want to change the base?
project-mongo-api #478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Cornelia, good job working on your first DB! your code looks very good! ⭐ it meets all the specified requirements, being also well-structured and having the endpoints working! Just one tip, there's no need to pass an id to your schema, remove id
as Mongoose automatically assigns a unique _id
field to each document, so you don't need to define an id
field :)
Okey, I removed the id. Now there's only the default id from Mongoose. 🙌 |
Netlify link
https://project-mongo-api-wncr.onrender.com/
Collaborators
Solo