Building a RESTful API with Node.js, Fastify, MongoDB and Mongoose: Part 1

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

🔴 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.

Leave your questions in the comments below, and see you in the next video!

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

Excellent tuto, I'm coming from express, and the way you do things with fastify makes my transition smoother, thx a lot

lbuduen
Автор

very good tutorial followed it to the end and surprised I could do this much. Thanks man

_Rie_
Автор

you're in Node weekly, congrats mate 🎉🎉

joabesilva
Автор

wonderful tutorial, thanks for making this

helloworldkudasai
Автор

Great Tutorial & and your way to explain is super, ⚡ Keep it up🥇

ahmaddanesh
Автор

Hey Kevin, great that you're tackling the topic of Fastify. Unfortunately, you make quite a few mistakes, but thankfully, you point them out. I'm not sure if a beginner would understand the hints. Overall, I like your style, and you get to the important points. Do you also cover data validation? I'm curious and looking forward to the next video in the series! Cheers, Sebastian

sebastianfriedrich
Автор

Good Tutorial but is it possible to do the Schema with PostgreSQL too?

sawaya