Загрузка...

Build Restaurant Website with MERN | TypeScript, Zustand, Zod, Stripe

In this comprehensive tutorial, learn how to build a production-ready restaurant website using the powerful MERN stack (MongoDB, Express, React, Node.js). This step-by-step guide covers everything you need to know, from setting up the project with TypeScript for type safety to using Zod for robust form validation.

You'll also learn how to manage global state with Zustand, integrate Stripe for secure payment processing, and implement best practices for SEO optimization to make your website discoverable. Whether you're a beginner or an experienced developer, this video will provide you with the tools and knowledge to create a scalable, full-featured restaurant website.

Learning Topics:
TypeScript - Strong typing for safer and more manageable code.
Schema Design - Best practices for structuring your database.
ShadCN UI & Tailwind CSS - Create a responsive, modern, and beautiful user interface.
Advanced Authentication - Implement login, signup, logout, 6-digit token-based verification, password recovery, and more.
Role-Based Accounts - Secure and manage different user roles.
Zod - Robust schema validation and error handling.
Zustand - Simple and scalable state management.
Stripe Payment Gateway - Integrate secure online payments.
Stripe Webhooks - Handle events with real-time updates.
Mailtrap for Emails - Send and test emails efficiently.
Advanced Searching - Implement powerful search functionalities.
Loading Skeletons - Enhance UX with elegant loading states.
Git & GitHub - Version control and collaborative development.
Deployment on Render - Seamless deployment to the cloud.
And much more!

TIMESTAMPS:

00:00:00 Build Demo
00:21:22 Frontend Setup
00:31:44 Build Login Page
00:28:28 Setup React-Router-Dom
00:55:15 Understand TypeScript ?
01:07:00 Build Signup Page
01:11:45 Setup Zod ?
01:33:48 Forgot Password Page
01:47:18 Reset Password Page
01:51:08 Verify Password Page
02:13:00 Navbar Page
02:48:00 Hero Section Page
03:05:40 Profile Page
03:37:18 Restaurant Search Page
04:16:33 Add Loading Skeleton
04:20:43 Filter Restaurant Page
04:30:21 Restaurant Detail Page
04:42:28 Available Menus Page
04:53:26 Cart Checkout Page
05:31:45 Admin Restaurant Page
06:07:54 Admin Menu Page
07:08:20 Admin Orders Page
07:26:49 User Orders Page
07:44:30 Backend Setup
07:53:44 Connect MongoDB
08:00:10 Think to Build Schema?
08:04:06 Build Models/Schema
08:44:11 Build User Controller
09:25:55 Create Auth Middleware?
09:34:56 Coudinary Setup
09:43:58 Create JWT Token
09:49:33 6-Digit Token Verification
09:52:53 Mailtrap Setup
10:14:13 Routes for Users
10:23:27 Restaurant Controller
11:08:40 Routes for Restaurant
11:17:48 Menu Controller
11:32:32 Routes for Menu
11:34:39 Setup Stripe
12:12:52 What is Zustand ?
12:21:32 User Zustand Store
13:18:33 Protect All Routes
13:31:47 Add Loading Screen
13:52:43 Restaurant Zustand Store
14:33:54 Menu Zustand Store
15:22:34 Filter Restaurant
16:27:44 Add/Remove Items in Cart
16:54:00 Orders Zustand Store
17:18:51 Implement Webhook?
18:04:00 Light/Dark Mode
18:10:29 Let's Deploy on Render

Source Code: https://github.com/Surendrakumarpatel/food-app-yt
Join Discord: https://discord.com/invite/ujZe9PpTBZ

👉YouTube Clone:
Ep-01: https://youtu.be/7DrYVZxf25Q
Ep-02: https://youtu.be/uBlp5rgwHkw
Ep-03: https://youtu.be/IwGS0zBqzqM
👉Netflix Clone: https://youtu.be/y2Kxmvaew90
👉Master Redux Toolkit: https://youtu.be/kbJdSExJ5rk
👉Complete Javascript for Reactjs: https://youtu.be/87iczzi3zFc
👉NextJS Authentication App: https://youtu.be/4ILQWTjkHGM

Tags:
MERN Stack Tutorial
TypeScript Full Stack
Zod Validation
Zustand State Management
Stripe Integration
Restaurant Website Tutorial
Advanced Authentication
Role-Based Access
ShadCN UI Tutorial
Tailwind CSS Tutorial
Web Development 2024
Full Stack Developer Guide
MongoDB Schema Design
Render Deployment
GitHub for Developers

Hashtags:
#mernstackproject #reactjs #patelmernstack

Whether you're building your first full-stack project or looking to refine your skills, this tutorial is packed with real-world techniques that will help you create a high-quality, production-ready application.

Follow ME:
LinkedIn: https://www.linkedin.com/in/surendrakumar143/

🔔 Subscribe to stay updated with more advanced web development content, and don’t forget to like and share this video if you find it helpful!

Disclaimer: This build is for educational purposes only. The views, opinions, and technology choices expressed in this video are solely my own and do not reflect those of any current, past, or future employers or affiliations.

Видео Build Restaurant Website with MERN | TypeScript, Zustand, Zod, Stripe канала Patel MernStack
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки