Skip to content

Simple E-Commerce Website .This project is a straightforward e-commerce website built with modern web technologies like Next.js, MongoDB, TailwindCSS, NextAuth, and Redux. It features essential e-commerce functionalities such as product listing, cart management, and user authentication with Google.

Notifications You must be signed in to change notification settings

AmruthLP12/e-commerce

Repository files navigation

Simple E-Commerce Website

This project is a straightforward e-commerce website built with modern web technologies like Next.js, MongoDB, TailwindCSS, NextAuth, and Redux. It features essential e-commerce functionalities such as product listing, cart management, and user authentication with Google.

Features

  • Product Listing: Display available products with all necessary details.
  • Cart Management: Add, remove, and manage items in the cart with real-time updates.
  • Google Authentication: Secure user authentication using Google via NextAuth.
  • Responsive Design: Optimized for various devices using TailwindCSS.

Tech Stack

  • Frontend: Next.js, TailwindCSS, Redux
  • Backend: Next.js API Routes, MongoDB
  • Authentication: NextAuth (Google Login)
  • State Management: Redux

Installation

  1. Clone the repository:
  git clone https://github.com/AmruthLP12/e-commerce.git
  cd e-commerce
  npm install
  1. Set up environment variables
  • Create a .env.local file in the root directory.
  • Add the following variables
GOOGLE_CLIENT_ID = 
GOOGLE_CLIENT_SECRET = 
NEXTAUTH_SECRET = 

MONGO_URI = 

UPLOADTHING_SECRET = 
UPLOADTHING_APP_ID = 
  1. Run the development server
npm run dev

Contact

If you have any questions or feedback, feel free to reach out:

GitHub: AmruthLP12

Portfolio: amruthlp.vercel.app

About

Simple E-Commerce Website .This project is a straightforward e-commerce website built with modern web technologies like Next.js, MongoDB, TailwindCSS, NextAuth, and Redux. It features essential e-commerce functionalities such as product listing, cart management, and user authentication with Google.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published