Must Know REST API Stack | MongoDB, Node & Express

preview_player
Показать описание

Learn the Must Know REST API Stack - MongoDB, Node & Express. In this tutorial, we'll build a quotes REST API that provides quotes, authors, and categories. We'll use MongoDB Atlas to store our data in the cloud.

Must Know REST API Stack | MongoDB, Node & Express

(0:00) Intro
(0:27) Adding New Dependencies
(1:45) Configure Database Connection
(3:23) dotenv Setup
(5:07) MongoDB Atlas Setup
(9:26) Server and Database Connection Test
(12:11) File Tree / Directories Setup
(14:04) Create the MongoDB Database Models
(17:22) Create API Post Routes
(22:54) Create Custom Middleware for Express
(36:56) Create API Read All and Read Single Routes
(43:49) Create API Update and Delete Routes
(50:28) Your Assignment to Complete the Project

✅ Follow Me:

Was this tutorial about the must know REST API Stack with MongoDB, Node & Express helpful? If so, please share. Let me know your thoughts in the comments.

#rest #api #stack
Рекомендации по теме
Комментарии
Автор

golden stuff idk how you have so low amount of views mate thanks for doing this, :)

boriszolah
Автор

Dave do you have a tutorial on how to call data from mongodb?

lastsword
Автор

Hi Dave
Are useUnifiedTopology & useNewUrlParser still useful?

takisnani
Автор

Hello Dave,
This is a good starter project one can extend and build on top of it,

Just one thing regarding the middleware, is there any advantage of declaring author_id/category_id on res object over req object,
I know that both are acceptable solutions, but for me I think I'll put it on the req object since it's initially included in the request body.


Thanks & Regards

ahmad-murery
join shbcf.ru