Nextjs Ecommerce screenshot

Nextjs Ecommerce

Author Avatar Theme by Abdullah moiz
Updated: 8 Jul 2024
179 Stars

E-commerce App using NEXTJS 13 , TypeScript , SWR , Redux toolkit , Mongoose , react hook forms

Categories

Overview:

This product is an ecommerce app developed using Next.js, TypeScript, Tailwind CSS, Redux Toolkit, and MongoDB. It features an admin dashboard with functionalities such as adding, viewing, updating, and deleting products and categories. It also includes a multi-user login system, JWT validation, authorization for admin and customer access, handling order delivery, and tracking order status. The app allows customers to view products and categories, add products to cart, remove products from cart, increase or decrease cart quantities, and order products. More functionalities will be added over time.

Features:

  • Admin Dashboard with features like adding, viewing, updating, and deleting products and categories.
  • Multi-user login system with sign-in, sign-up, and forget password functionalities.
  • JWT validation on each authorized request for added security.
  • Authorization validation for admin access and customer access.
  • Handle order delivery with functionalities for pending order list and completed order list.
  • Customer features include viewing products and categories, adding products to cart, removing products from cart, increasing or decreasing cart item quantities.
  • Alert if in-stock quantity of a product is not available.
  • Bookmark favorite products and remove products from bookmark.
  • Order products with functionalities for tracking order status and viewing order details.

Installation:

To run this project, you will need to follow these steps:

  1. Clone the project to your local machine:

    git clone https://github.com/username/my-project.git
    
  2. Navigate to the project directory:

    cd my-project
    
  3. Install dependencies using npm:

    npm install
    
  4. Create a .env file in the root directory and add the following environment variables:

    DB_URI=Your MongoDB URL
    JWT_SECRET=Your custom JWT_SECRET key
    NEXT_PUBLIC_API_BASE_URL=Base URL for localhost => http://localhost:3000
    
  5. Start the development server:

    npm run dev
    
  6. Access the app in your browser at http://localhost:3000.

Summary:

This product is a Next.js ecommerce app with a wide range of features including an admin dashboard, multi-user login system, JWT validation, authorization, handling orders, and much more. It allows customers to browse products, add them to cart, and place orders with tracking functionality. The app is built using technologies like Next.js, TypeScript, Tailwind CSS, Redux Toolkit, and MongoDB. Installation is done by cloning the project, installing dependencies, and adding necessary environment variables. Overall, this app provides a comprehensive ecommerce solution for both customers and admins.