This tutorial shows how to create a CRUD API with #NodeJS and #MongoDB in under 10 minutes! We will be using #NestJS as our server-side NodeJS application that will take care of most of the creation process with just a couple of commands.
CRUD stands for Create, Read, Update and Delete, which are the four basic functions of persistent storage of items.
Generally, an API exposes routes to execute these functions on a specified item or list of items in your database (in this case, MongoDB), allowing users to manipulate the data they have access to.
Today we will be building such a system that enables users to create, read, update and delete from a collection of dog breeds on our database. And we will do all of that in under 10 minutes, with the help of NestJS!
Chapters
0:00 - What is CRUD?
0:43 - Introduction to NestJS
1:27 - NestJS Installation
2:32 - Folder Structure
3:55 - Auto-generate API
7:00 - Using Postman
8:50 - Connecting to MongoDB
13:15 - CRUD Database Documents
22:00 - More NestJS love
23:14 - Outro
-----------------------------------------------------------------------------------------------------------------
- IF you like this video, please make sure to click the like button and share this with all your friends! 👍
- ANY comments or ideas? Share them with me down below! ✍
SIGNUP FOR THE NEWSLETTER
📥 Newsletter: [ Ссылка ]
JOIN OUR NEWLY CREATED DISCORD CHANNEL
📘 Discord: [ Ссылка ]
MY SOCIAL MEDIA
🎥 Twitch: [ Ссылка ]
📷 Instagram: [ Ссылка ]
🐦 Twitter: [ Ссылка ]
MY FILMING GEAR:
📷 My Camera - Sony Alpha 7 II - [ Ссылка ]
🎤 My Microphone - Trust Gaming GXT 258 Fyru - [ Ссылка ]
💡 My Lighting - Neewer 2-Pack LED - [ Ссылка ]
MY CODING GEAR:
⌨ My Keyboard - MX Keys by Logitech - [ Ссылка ]
🖱 My Mouse - MX Master 3 by Logitech - [ Ссылка ]
🎧 My Headphones - Sony MX1000XM3 - [ Ссылка ]
📺 My Monitors - 1x Dell U2417H and 1x Dell P2419H - [ Ссылка ]
COMPUTER SPECS:
(MacBook Pro 16'' 2019)
Intel i9 2,3 GHz 8-Core
16 GB 2667 MHz DDR4
Intel UHD Graphics 630 1536 MB
(Custom Built PC 2017)
AMD Ryzen 1500X 3,5 GHz Quad-Core - [ Ссылка ]
Team Group DDR4 2400MHz 16 GB - [ Ссылка ]
Radeon RX 560 Series 4 GB - [ Ссылка ]
![](https://i.ytimg.com/vi/-_TNGrtLeOM/maxresdefault.jpg)