Skip to content

Sanket2060/ecommerce-application-NEXTJS

Repository files navigation

🛒 Ecommerce Web App

A modern E-commerce platform built with Next.js and Tailwind CSS.
It supports user authentication with Clerk and uses MongoDB as the database.


🚀 Features

  • Secure authentication & authorization with Clerk (OAuth, Email, Social Logins).
  • Product listing with categories, images, and pricing.
  • Shopping cart & checkout flow.
  • User profiles (order history, account settings).
  • Order management.
  • Responsive UI styled with Tailwind CSS.
  • Optimized server-side rendering (SSR) & API routes via Next.js.
  • MongoDB as the main database for storing users, products, and orders.

🛠️ Tech Stack


📂 Project Structure

├── app/ # Next.js App Router │ ├── api/ # API routes │ ├── products/ # Product listing pages │ └── cart/ # Shopping cart & checkout ├── components/ # Reusable UI components ├── lib/ # DB connection, utils ├── styles/ # Global styles (Tailwind config) ├── .env.local # Environment variables └── README.md


⚙️ Setup & Installation

  1. Clone the repo

    git clone https://github.com/Sanket2060/ecommerce-application-NEXTJS cd ecommerce-application-NEXTJS

Install dependencies npm install Create a .env.local file and add the following:

env Copy code

MongoDB

MONGODB_URI=your-mongodb-connection-string

Clerk

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key CLERK_SECRET_KEY=your-clerk-secret-key

Run the development server npm run dev App will be live at http://localhost:3000.

Deployment

Live at: https://ecommerce-sanketkarki.vercel.app

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages