This is a Next.js project bootstrapped with create-next-app
.
Welcome to the E-Shop project! This e-commerce application is built with a focus on providing a seamless shopping experience and includes a variety of features to enhance both user and administrator interactions.
- 🖌️ Awesome UI in TailwindCSS
- 🛒 Complete Shopping Cart
- 🔐 Authentication with Google Login in Next Auth
- 💰 Payment Integration with Stripe
- 👀 Admin Dashboard
- 📉 Shop Statistics (Summary)
- ⬆️ Image Uploads in Firebase Storage
- 🔎 Search Functionality
- 👨👩👧👦 Product Categories
- 🔥 Product Rating
- 🛠️ Manage Products
- 🛠️ Manage Orders
Follow these steps to get the E-Shop project up and running on your local machine.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/Mdromi/e-shop.git cd e-shop
-
Install dependencies::
npm install # or yarn
Create a .env
file in the root of the project using the provided example. Fill in the values with your actual credentials.
```bash
# Stripe Configuration
STRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=YOUR_STRIPE_PUBLISHABLE_KEY
STRIPE_WEBHOOK_SECRET=YOUR_STRIPE_WEBHOOK_SECRET
# NextAuth Configuration
NEXTAUTH_SECRET=YOUR_NEXTAUTH_SECRET
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
# Database Configuration (if applicable)
DATABASE_URL=YOUR_DATABASE_URL
```
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Sleek e-commerce platform with Next.js, TailwindCSS, Google Login, Stripe integration, and Firebase support for hassle-free online shopping.