Let’s build full stack apps in 14 now. Learn building rest api routes in 14 using app directory. In this video, you will learn how to setup, structure and create CRUD apis in 14. Learn how to connect with mongodb and create mongoose modals to create relationship between data modals.
I will create api routes for users, notes and dynamic note id. Finally you will learn how to protect whole backend using middleware and how to use multiple middleware for api routes in 14.
00:03 Overview
01:30 Create first GET api route
04:00 Setup Mongo Altas
07:55 Connect to MongoDB
12:50 Create mongoose Schema for User
16:10 Create mongoose Schema for Notes
18:30 User GET api route
23:00 User POST api route
30:00 User PATCH api route
38:40 User DELETE api route
44:30 Notes GET api route
50:20 Notes POST api route
57:40 Notes PATCH api route
01:03:50 Notes DELETE api route
01:08:30 Note Dynamic api route
01:14:00 Protect api routes with middleware
01:23:10 Logging middleware for notes api routes
#restapis #nextjs14 #postman #mongodb #api #database
Follow Whatsapp Channel:
React tutorials:
JavaScript Tutorials and Projects:
Angular Tutorials:
Docker Tutorials & CI/CD:
Angular 16 Crash Course For Beginners:
Tech Tutorials - Random:
Complete 13 Tutorials:
14 Tutorials:
Node Express MongoDB Bootcamp:
ChatGPT Tutorials:
Join our facebook group:
Contact us for development services 🤝:
Github Repository Link (Give it a Star ⭐️):
1 view
230
49
5 years ago 00:50:40 19
Let’s build a REST API in Go with zero dependencies!
7 years ago 01:18:02 7
Build a Rest API with the Django REST Framework
5 years ago 01:14:01 10
Python REST API Tutorial - Building a Flask REST API
9 years ago 00:08:25 29
iOS Development Tutorial REST APl: How to Build a Photos Browser App
2 years ago 00:34:14 1
Build a Rest API with GoLang
4 months ago 00:30:22 1
Build the Initial InventoryMS REST API
9 years ago 00:06:19 491
Build a Hello World REST service in less than 6 minutes
5 years ago 00:35:43 12
Build a Machine Learning API | Django Rest Framework
3 years ago 00:41:21 2
Django REST Framework - Build an API from Scratch
3 years ago 00:08:49 4
Build a Secure Java REST API with Spring Boot
3 years ago 00:07:41 1
Build a Secure Java REST API with Micronaut
5 years ago 01:22:32 9
Building An App From Scratch: Building a REST API with Python | #4
9 months ago 00:08:52 1
Build/Playstyle Tier List | No Rest for the Wicked
5 years ago 03:52:37 9
Hackathon: Build a complete Django REST API with me! | Python & Django
4 years ago 00:53:55 7
Build A Restful Api With Express & MongoDB | Rest Api Tutorial
3 years ago 00:14:22 4
How To Build a CRUD API with Django Rest Framework
5 years ago 00:28:22 28
Golang / Go Crash Course | Building a REST API with Mux
2 years ago 01:26:49 1
Django REST Framework Course – Build Web APIs with Python
1 year ago 00:08:46 27
No Rest for the Wicked: Exclusive Boss Battle Gameplay (4K 60FPS) - IGN First
3 years ago 00:28:45 4
Build a Python NoSQL API in 28 Minutes! (Django Rest Framework)
3 years ago 07:01:40 1
Build a Django REST API with the Django Rest Framework. Complete Tutorial.
4 years ago 01:01:16 10
Build a REST API with Node JS and Express | CRUD API Tutorial
12 years ago 00:04:37 1.7K
Bodybuilding Motivation “Rest of my life“ (Arnold,Phil heath,Zyzz,Jeff seid,Greg Plitt and more)
2 years ago 00:28:56 1
Build A REST API With , Express, & MongoDB - Quick