More Premium Hugo Themes Premium React Themes

Azon Shop

T3-stack E-commerce website with Drizzle ORM, rating system, persistent cart, discounts, algolia search, optimistic updates (React Query), in stock indicator, infinite scroll and order tracking. E2E Cypress tests included

Azon Shop

T3-stack E-commerce website with Drizzle ORM, rating system, persistent cart, discounts, algolia search, optimistic updates (React Query), in stock indicator, infinite scroll and order tracking. E2E Cypress tests included

Author Avatar Theme by andrewsolonets
Github Stars Github Stars: 85
Last Commit Last Commit: Feb 21, 2025 -
First Commit Created: Apr 29, 2023 -
default image

Overview

Azon Shop is an ecommerce website built using the T3 Stack, which includes TypeScript, Prisma, trpc, and Next.js. This fully functioning website offers a range of features including a persistent cart, infinite scroll, a rating system, user profiles with order history, and a checkout process with Stripe integration.

Features

  • Fully functioning, persistent Cart: Users can add products to their cart and the cart will persist across different pages.
  • Infinite scroll: The website implements infinite scroll, allowing users to continuously scroll and load more products.
  • Rating System: Users can provide ratings and reviews for products.
  • User profile with order history: Each user has their own profile with a history of their previous orders.
  • Checkout with Stripe: The website integrates with Stripe for secure payment processing during checkout.
  • Custom db with orders connected to Stripe: Custom database setup with orders connected to Stripe for seamless order management.
  • Authentication: Users can create accounts and log in to access personalized features.
  • Algolia Autocomplete search: The website utilizes Algolia’s autocomplete search functionality for quick and efficient product searching.

Installation

To install and run the Azon Shop project, follow these steps:

  1. Clone the project to your local machine.
  2. Navigate to the project directory.
  3. Install the necessary dependencies.
  4. Connect to your database. If it’s not MySQL, make sure to modify the schema.prisma file accordingly.
  5. Add the required environment variables to your .env file. These include: DATABASE_URL, NEXTAUTH_SECRET, NEXTAUTH_URL, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GITHUB_ID, GITHUB_SECRET, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, STRIPE_SECRET_KEY, and STRIPE_WEBHOOK_SECRET.
  6. Start the server to run the Azon Shop.

Summary

Azon Shop is a feature-rich ecommerce website built using the T3 Stack. It offers essential ecommerce functionality such as a persistent cart, user profiles, ratings, and a seamless checkout process with Stripe. The website is built with modern technologies like TypeScript, Prisma, trpc, and Next.js. With its intuitive features and efficient design, Azon Shop provides a great shopping experience for users.