Next.js 14 REST API Beginner Course 🚀
Learn to build REST APIs with Next.js 14, including MongoDB models, route protection, deployment, and more for beginners.

freeCodeCamp.org
101.0K views • Jun 4, 2024

About this video
Learn how to code REST APIs using Next.js 14. You'll learn to create multiple MongoDB models, how to protect API routes, deploy APIs, and more.
Course developed by @ProgrammingwithUmair321
Code: https://github.com/umairjameel321/next14-restapis
❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba
⭐️ Contents ⭐️
⌨️ (0:00:05) Overview of project
⌨️ (0:03:21) Create new next.js project
⌨️ (0:04:11) Files and folder structure
⌨️ (0:07:41) Connect to database
⌨️ (0:16:26) Create user schema
⌨️ (0:19:26) GET users api
⌨️ (0:24:46) POST new user api
⌨️ (0:30:32) PATCH user api
⌨️ (0:39:51) DELETE user api
⌨️ (0:45:41) Create category schema
⌨️ (0:49:21) GET categories api
⌨️ (0:54:35) POST category api
⌨️ (0:58:46) PATCH category api
⌨️ (1:08:41) DELETE category api
⌨️ (1:12:49) Create blog schema
⌨️ (1:14:39) GET blogs api
⌨️ (1:21:14) POST blog api
⌨️ (1:25:59) GET single blog api
⌨️ (1:33:12) PATCH blog api
⌨️ (1:38:41) DELETE blog api
⌨️ (1:41:56) Search blogs api with keywords
⌨️ (1:46:31) Filter blogs with date
⌨️ (1:50:16) Sort blogs api
⌨️ (1:51:26) Blogs pagination
⌨️ (1:56:36) Protect api routes
⌨️ (2:08:41) Logging middleware
⌨️ (2:11:56) Deployment
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Course developed by @ProgrammingwithUmair321
Code: https://github.com/umairjameel321/next14-restapis
❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba
⭐️ Contents ⭐️
⌨️ (0:00:05) Overview of project
⌨️ (0:03:21) Create new next.js project
⌨️ (0:04:11) Files and folder structure
⌨️ (0:07:41) Connect to database
⌨️ (0:16:26) Create user schema
⌨️ (0:19:26) GET users api
⌨️ (0:24:46) POST new user api
⌨️ (0:30:32) PATCH user api
⌨️ (0:39:51) DELETE user api
⌨️ (0:45:41) Create category schema
⌨️ (0:49:21) GET categories api
⌨️ (0:54:35) POST category api
⌨️ (0:58:46) PATCH category api
⌨️ (1:08:41) DELETE category api
⌨️ (1:12:49) Create blog schema
⌨️ (1:14:39) GET blogs api
⌨️ (1:21:14) POST blog api
⌨️ (1:25:59) GET single blog api
⌨️ (1:33:12) PATCH blog api
⌨️ (1:38:41) DELETE blog api
⌨️ (1:41:56) Search blogs api with keywords
⌨️ (1:46:31) Filter blogs with date
⌨️ (1:50:16) Sort blogs api
⌨️ (1:51:26) Blogs pagination
⌨️ (1:56:36) Protect api routes
⌨️ (2:08:41) Logging middleware
⌨️ (2:11:56) Deployment
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Video Information
Views
101.0K
Likes
2.6K
Duration
02:17:33
Published
Jun 4, 2024
User Reviews
4.7
(20) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.