Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

CRUD API Tutorial – Node, Express, MongoDB

via freeCodeCamp

Overview

Build a CRUD API using Node.js, Express, and MongoDB in this comprehensive tutorial designed for beginners in backend development. Learn the fundamentals of the MERN stack (minus React) while creating a robust API. Explore essential concepts including package.json configuration, Express framework setup, server initialization, and API testing tools like Postman, ThunderClient, and Insomnia. Dive into MongoDB setup, product model creation, and implementation of create, read, update, and delete operations. Master routing, controllers, and form URL encoding. Conclude by testing the API and pushing the project to GitHub. Gain hands-on experience with Git Bash, Nodemon, and other developer tools throughout this practical, step-by-step guide to building a functional backend application.

Syllabus

⌨️ Introduction
⌨️ package.json
⌨️ express framework
⌨️ npm run server
⌨️ API testing tools
⌨️ git bash
⌨️ nodemon
⌨️ mongodb setup
⌨️ product model
⌨️ create api
⌨️ read api all
⌨️ read api id
⌨️ update api
⌨️ delete api
⌨️ Form URL Encoded
⌨️ routes
⌨️ controllers
⌨️ checking and testing
⌨️ pushing to github

Taught by

freeCodeCamp.org

Reviews

Start your review of CRUD API Tutorial – Node, Express, MongoDB

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.