RESTful CRUD (Create, Read, Update, Delete) API using Express.js, Node.js and mongoDB

Code With Arjun February 27, 2024
Video Thumbnail
Code With Arjun Logo

Code With Arjun

View Channel

About

Code With Arjun features the best online web development, programming and installation tutorials for all of the latest web technologies from the fundamentals of Java, Javascript to frameworks like Spring Boot, React. Also help developer for installation and configuration of software required for building software in all operating systems (Linux, Mac and windows).

Video Description

In this video I have demonstrated how you can create RESTful CRUD(Create, Read, Update, Delete) API using Express.js, Node.js and mongoDB database. Source Code Link : https://codewitharjun.com/restful-crud-using-node-js-express-js-mongodb/ Install Node.js / npm on Windows :https://youtu.be/n3M9qKvFZeg?si=xLcvzWfeIjeWv1R4 Install Node.js / npm on Mac : https://youtu.be/pHz7TgEIa0w?si=Vrck3OHi8etkEcSK Install Node.js / npm on Ubuntu : https://youtu.be/3hzShQSrIy8?si=KvVRxmkfLrQOT-ZV Install mongoDB / Compass on Windows : https://youtu.be/jvaBaxlTqU8?si=3K_9SDsNVSTsKWud Install mongoDB / Compass on Mac : https://youtu.be/MyIiM7z_j_Y?si=OM0u3KD7eVTLHV0r Install Postman on Mac : https://youtu.be/i9FQWDx8NIY?si=L6vCwMp2gZP5Xfz7 Timestamps : 00:00 - Introduction to CRUD using Express.js 00:35 - Initialize project 01:20 - Install npm packages 04:00 - Connect mongoDB database with Express.js 09:46 - Create Folder structure 14:15 - Create user model / schema 16:05 - POST data into mongoDB Database 22:37 - GET data from mongoDB Database 24:57 - UPDATE data from mongoDB Database 31:14 - DELETE data from mongoDB Database 34:36 - Outro PayPal : https://paypal.me/codewitharjun Patreon : https://www.patreon.com/codewitharjun ➡️ Subscribe : https://www.youtube.com/codewitharjun Stay Connected : ➡️ LinkedIn : https://np.linkedin.com/in/arjungautam1 ➡️ Github : https://github.com/arjungautam1 Join Community : ➡️Discord : https://discord.gg/cn2x3jhMW4 Follow me on : ➡️ Medium: https://codewitharjun.medium.com/ ➡️ Dev.to : https://dev.to/codewitharjun #crud #express #monojdey #mernstack #CodeWithArjun #Programming

You May Also Like

Upgrade Your Visuals Now

AI-recommended products based on this video

Loading...
StanbyME LG 27-Inch Class Smart Portable Touch Screen Monitor 27ART10AKPL. Built-in 3 Hour Battery, Full Swivel Rotation, Rollable. LG Stanbyme, Standbyme, Stand by me.

StanbyME LG 27-Inch Class Smart Portable Touch Screen Monitor 27ART10AKPL. Built-in 3 Hour Battery, Full Swivel Rotation, Rollable. LG Stanbyme, Standbyme, Stand by me.

(75)
$1,097.98
FREE delivery Sun, Aug 10
50+ bought in past month
Loading...
Asus ROG Strix 1000W Gold Aura Edition (Fully Modular Power Supply, 80+ Gold Certified, ATX 3.0, Cybenetics Lambda A+ Certification, PCIe Gen 5.0 Ready, Axial-tech Fan, Aura Sync, 10-Year Warranty)

Asus ROG Strix 1000W Gold Aura Edition (Fully Modular Power Supply, 80+ Gold Certified, ATX 3.0, Cybenetics Lambda A+ Certification, PCIe Gen 5.0 Ready, Axial-tech Fan, Aura Sync, 10-Year Warranty)

(38)
$267.83$262.70
FREE delivery Oct 9 - 10
Loading...
Acer EDA270U Pbmiipx 27" WQHD (2560 x 1440) 1500R Curved Widescreen Gaming Display | AMD FreeSync Premium | 1ms (VRB) | up to 170Hz Refresh | HDR 10 | 2 Speakers | Display Port and HDMI Cable Incl.
Amazon's Choice

Acer EDA270U Pbmiipx 27" WQHD (2560 x 1440) 1500R Curved Widescreen Gaming Display | AMD FreeSync Premium | 1ms (VRB) | up to 170Hz Refresh | HDR 10 | 2 Speakers | Display Port and HDMI Cable Incl.

(714)
199.96
PrimeFREE delivery Sunday, June 15.
200+ bought in past month
Loading...
Seventable L Shaped Computer Desk with Drawers 47.2 inch,Gaming Desk with Power Outlets & LED Lights,Reversible Office Desk with Storage Shelves,Corner Desk with Monitor Stand for Home Office White

Seventable L Shaped Computer Desk with Drawers 47.2 inch,Gaming Desk with Power Outlets & LED Lights,Reversible Office Desk with Storage Shelves,Corner Desk with Monitor Stand for Home Office White

(597)
$129.99
FREE delivery Thu, Jun 26
50+ bought in past month
Loading...
Seventable L Shaped Computer Desk with Power Outlets & LED Lights, 44.6"Small Home Office Desk with 3 Fabric Drawers, Reversible Gaming Desk with Storage Shelves, Corner Desk with Monitor Stand, White

Seventable L Shaped Computer Desk with Power Outlets & LED Lights, 44.6"Small Home Office Desk with 3 Fabric Drawers, Reversible Gaming Desk with Storage Shelves, Corner Desk with Monitor Stand, White

(100)
$119.99
FREE delivery Thu, Jun 26
Loading...
ODK Gaming Desk with Led Lights & Power Outlet, 48 Inch Gaming Computer Desk with Storage Shelves, PC Desk with Monitor Stand, Gamer Desk Table for Home Office, Black

ODK Gaming Desk with Led Lights & Power Outlet, 48 Inch Gaming Computer Desk with Storage Shelves, PC Desk with Monitor Stand, Gamer Desk Table for Home Office, Black

(1,001)
$129.99
50+ bought in past month
Loading...
Rolanstar Computer Desk L Shaped 56.7" with LED Lights & Power Outlets, Reversible L Shaped Gaming Desk with Monitor Stand, Office Desk with Storage, Writing Desk with USB Port & Hook, Black

Rolanstar Computer Desk L Shaped 56.7" with LED Lights & Power Outlets, Reversible L Shaped Gaming Desk with Monitor Stand, Office Desk with Storage, Writing Desk with USB Port & Hook, Black

(3,191)
$179.99
FREE delivery Thu, Jun 26
50+ bought in past month
Loading...
Dell P2725H 27" Full HD 1920 x 1080 Monitor - 1 Year Warranty, Computer Monitor Screen Bundle with Power Cable + USB 3.0 Upstream Cable + Display Port Cable + HDMI Cable + Microfiber Cloth Included

Dell P2725H 27" Full HD 1920 x 1080 Monitor - 1 Year Warranty, Computer Monitor Screen Bundle with Power Cable + USB 3.0 Upstream Cable + Display Port Cable + HDMI Cable + Microfiber Cloth Included

(35)
$539.87$539.34
FREE delivery Oct 8 - 10
Loading...
Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

(57)
$981.72
Loading...
Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Monitor - 16:9 - Black, Silver EPEAT

Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Monitor - 16:9 - Black, Silver EPEAT

(13)
$699.99$650.99
FREE delivery Tue, Oct 7
50+ bought in past month
Loading...
Visual Beat 17.3'' 4K Portable Touchscreen Monitor, UHD 500Nits 100% AdobeRGB IPS HDR Travel Display, USB, Type-C & HDMI, Dual Speakers, VESA & Smart Cover - for Laptop PC Phone PS4/5 Xbox etc.

Visual Beat 17.3'' 4K Portable Touchscreen Monitor, UHD 500Nits 100% AdobeRGB IPS HDR Travel Display, USB, Type-C & HDMI, Dual Speakers, VESA & Smart Cover - for Laptop PC Phone PS4/5 Xbox etc.

(15)
$303.05
FREE delivery Mon, Aug 11
Loading...
4K Portable Monitor, MAGICRAVEN 15.6inch UHD 3840×2160 100% sRGB Portable Gaming Monitor, USB-C Mini HDMI External Second Monitor Portable with Speakers for Laptop MacBook Switch PS5/4 Xbox

4K Portable Monitor, MAGICRAVEN 15.6inch UHD 3840×2160 100% sRGB Portable Gaming Monitor, USB-C Mini HDMI External Second Monitor Portable with Speakers for Laptop MacBook Switch PS5/4 Xbox

(802)
$251.99
FREE delivery Tue, Aug 12
Loading...
MAGICRAVEN 4K Portable Monitor 13.3" - 3840 * 2160 UHD IPS Portable Screen Laptop Monitor, Slim Lightweight Dual USB C HDMI Computer Monitor Gaming Display with Speakers, Travel Monitor for PC Phone

MAGICRAVEN 4K Portable Monitor 13.3" - 3840 * 2160 UHD IPS Portable Screen Laptop Monitor, Slim Lightweight Dual USB C HDMI Computer Monitor Gaming Display with Speakers, Travel Monitor for PC Phone

(795)
$223.99
FREE delivery Sun, Aug 10