In this tutorial, we'll be using TypeScript and Docker to build a Menu Restaurant API app from scratch with Node, Express, and MongoDB. The Docker ...
For further actions, you may consider blocking this person and/or reporting abuse
Why mongoose and not just mongodb library? (document models?)
An API should always provide OpenAPI schema, how can you add it to this project? If you have models, it should be straight forward...
Yes. I went with mongoose because of the abstraction it provides to define schema and make queries.
About the OpenAPI schema, I think that there are swagger packages for Nodejs you can use to document your API. I haven't try it yet.
Let me know if you have some suggestions
This was great I was planning to write an article like this eventually 😄
Interesting.
I would love to read it :)
Would be great if you improve this article to cover the authenticated/protected routes.
Well done!
Thank you Phil :)
Great article bro
Thank you man
Great article! What would you do to protect the crud routes?
Looking to add JWT authentication to these routes.
I'll write something on it. Stay tuned :)