Next.js 13 Full Stack E-commerce App #24 | Admin Routes, Authorize Roles, Get all Products
Вставка
- Опубліковано 8 тра 2023
- Git Repo Link:
github.com/ghulamabbas2/buyit...
Checkout my In-Depth Next.js Masterclass on Udemy Courses:
www.udemy.com/course/nextjs-b...
Next.js 13 Authentication with Next-Auth:
• Next.js Authentication...
================================================================
⚙️ Gadgets I use for Recording:
💻 Laptop - Macbook PRO M1 - 16/512
amzn.to/4eUqrSe
🎤 MIC - Samson Technologies Q2U USB/XLR Dynamic Microphone
amzn.to/3W9Z4wl
🖱️Mouse - Logitech G402 Gaming Mouse Hyperion Fury USB, Black
amzn.to/3RY4xUy
⌨️ Keyboard - Logitech K380 Multi-Device Bluetooth Keyboard
amzn.to/3RY4Fn0
🖥️ Monitor - UltraSharp 24-Inch Screen Led-Lit Monitor (U2419H)
amzn.to/4bxidN6
================================================================
In this episode of our Next.js 13 Full Stack E-commerce App series, we'll be diving into the world of admin routes, authorization roles, and fetching all products.
First, we'll show you how to create admin-only routes and how to implement role-based authentication. This will help you better manage your e-commerce platform and ensure that only authorized personnel can access sensitive information.
Then, we'll walk you through the process of retrieving all the products available in your e-commerce store. We'll cover the necessary code and APIs needed to fetch product information from your database and display it on the site.
LIKE, SHARE & SUBSCRIBE!
This is 100% the best ecommerce out there. Big shout-out for you mate.
Smooth! Nice work Abbas!
Lovely content ❤️
Thanks again mate!
Hello Abbas, thanks for the class, hope the net connection is okay
Internet connection?
@@codingwithabbas, I mean one of my friends from your country said that he might not access the internet because shut down would occur based on some rules and regulations
yes there were issues, but internet is working fine.
@@codingwithabbas, good to know )
Hi, how can we display 10 product counts in all products(admin) without changing resPerPage in productController? @coadingwithabbas
You can pas resPerPage value from frontend.