Build Rest APIs in 14 - Middlewares | Protected APIs | MongoDB | Database Design

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 ⭐️):
Back to Top