Building a RESTful API with Node.js, Fastify, MongoDB and Mongoose: Part 1
In this video, we take a deep dive into building a robust RESTful API using Node.js, Fastify, MongoDB, and Mongoose. We go from an empty folder to CRUD capability on one of our resources. 🔴 Sections: 0:00 - Introduction 0:18 - Project Overview 0:39 - Initializing with NPM 1:00 - Setting Up Source Code Directories 1:46 - Starting with User Resource & Configuring Fastify 2:40 - Importing Routes & Controllers 4:28 - Writing Controllers & holding CRUD Operations 7:40 - Creating User Model in MongoDB with Mongoose 9:40 - Connecting to Database 11:18 - Implementing CRUD Operations in User Controller 14:03 - Testing Our API with CRUD Operations 15:36 - Wrapping Up & What's Next 16:45 - Outro Throughout the video, we cover topics such as creating a database schema with Mongoose, configuring Fastify as our web framework, initializing with NPM, and setting up our routes and controllers. We'll also show you how to implement full CRUD functionality for the user resource. This video is perfect for beginners looking to understand the basics of RESTful API development using Node.js, as well as experienced developers looking to brush up on their skills. In future videos, we will expand on this project by adding additional resources, authentication, authorization, and testing. Don't forget to check the repo link in the description below for all the code used in this project. Here's the repo: https://github.com/doingandlearning/b... Leave your questions in the comments below, and see you in the next video! Twitter: / dolearning Sign up for my newsletter to make sure you don't miss the next video: https://kevincunningham.co.uk/newsletter

Building a CRUD API with Fastify and MongoDB: Part 2 - Handling Related Data

What is a REST API?

Build a RESTful API with Fastify, Prisma & TypeScript

How I Build REST APIs that Scale

backend auth day3

Masterclass | Node.js Configurations

Fastify Course 🚀 The Performant Node.js Web Framework

Build a REST API with Node.js, Express, TypeScript, MongoDB & Zod

Fasity Complete Course - learn how to build REST API's

This is why more and more projects are leaving GitHub!

API vs. SDK: What's the difference?

Fastify Crash Course | Node.js Framework

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

Build and sell your own API $$$ (super simple!)

I Was NOT Ready for German Police Code 3… (American Reaction)

I tried 8 different Postgres ORMs

7 Authentication Concepts Every Developer Should Know

Masterclass | Unlocking Node.js' Power: A Journey into Fastify and Beyond

