Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Introduction to Next.js Ecommerce - Setting Up the Basics

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Learn how to create a complete ecommerce platform using Next.js, Prisma, and PostgreSQL from the ground up. This course guides you through the essentials of full-stack development, giving you the skills to architect and build performant, scalable applications. You’ll start by setting up the tech stack, development environment, and user interface with ShadCN UI. From there, you'll build structured layouts and reusable components to lay the foundation of your app. Progressing through the course, you’ll integrate PostgreSQL with Prisma for seamless data handling and explore advanced validation using Zod, followed by deploying your app for real-world use. Next, you’ll dive into secure authentication with NextAuth, enabling user sign-up, login, and token customization. Finally, you’ll implement a robust add-to-cart system with dynamic pricing, session handling, and smooth user interactions to simulate a real online shopping experience. This course is ideal for developers familiar with React looking to level up into full-stack development using modern tools. A working knowledge of JavaScript and basic web development is required. The course is best suited for intermediate learners.

Syllabus

  • Course Introduction
    • In this module, we will introduce the course structure, goals, and key technologies you'll work with. You'll also configure your development environment and explore available documentation. This sets the stage for building a full-fledged eCommerce platform from scratch.
  • App Creation & Basic Layout
    • In this module, we will kickstart the application by creating the base project and structuring the layout. You'll work with ShadCN UI, set up essential components, and build responsive features to ensure a polished user experience from day one.
  • Database, Prisma & Product Display
    • In this module, we will focus on integrating the database with your application. You’ll create Prisma models, seed product data, and connect your front-end to the backend to dynamically render products. We’ll also cover data validation and type inference.
  • Authentication With Next Auth
    • In this module, we will add authentication to your app using NextAuth. You’ll set up user models, authentication routes, and create sign-in/sign-up forms. The section also covers token customization and error handling for a complete auth flow.
  • Add To Cart
    • In this module, we will implement a robust Add to Cart feature. You’ll create cart schemas, components, and actions to support multiple items and dynamic pricing. Smooth UI updates and product quantity handling are also included.

Taught by

Packt - Course Instructors

Reviews

Start your review of Introduction to Next.js Ecommerce - Setting Up the Basics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.