- Pratikkumar Dungano
- Suraj Yaligar
- Ananya Sah
Adaa Jaipur is a modern e-commerce platform designed for seamless shopping. It provides a user-friendly interface, efficient backend, and an intuitive admin panel for managing products and orders.
- Home Page
- Product Listings
- Product Detail Page
- Cart Management
- Checkout & Payments (Stripe Integration-in progress)
- E-commerce Analytics (Track customer behavior and trends)
- UI/UX Optimized Design for a smooth shopping experience
- Frontend: React.js, Vite
- Backend: Node.js, Express.js, MongoDB
- Database: MongoDB (Mongoose ODM)
- Storage: Cloudinary
- Authentication: JWT (JSON Web Token)
- Payments: Stripe
- Admin Panel: React.js
Environment variables must be set up correctly in the .env files for the backend, frontend, and admin panel. These include database connections, API keys, and authentication secrets.
MONGODB_URL="mongodb+srv://<username>:<password>@<cluster>.mongodb.net"
CLOUDINARY_API_KEY="<your_cloudinary_api_key>"
CLOUDINARY_SECRET_KEY="<your_cloudinary_secret_key>"
CLOUDINARY_NAME="<your_cloudinary_name>"
JWT_SECRET="<your_jwt_secret>"
ADMIN_EMAIL="<your_admin_email>"
ADMIN_PASSWORD="<your_admin_password>"
STRIPE_SECRET_KEY="<your_stripe_secret_key>"
FRONTEND_URL="<your_frontend_url>"
STRIPE_WEBHOOK_SECRET="<your_stripe_webhook_secret>"
VITE_BACKEND_URL="<your_backend_url>"
VITE_STRIPE_PUBLISHABLE_KEY="<your_stripe_publishable_key>"
VITE_BACKEND_URL="<your_backend_url>"
- Clone the repository and navigate to the backend folder:
git clone https://github.com/your-repo.git cd backend - Install dependencies:
npm install
- Start the server:
npm run server
- Navigate to the frontend folder:
cd frontend - Install dependencies:
npm install
- Start the frontend:
npm run dev
- Navigate to the admin folder:
cd admin - Install dependencies:
npm install
- Start the admin panel:
npm run dev
GET /api/products- Get all productsGET /api/products/:id- Get product by IDPOST /api/products- Create a new product (Admin only)PUT /api/products/:id- Update a product (Admin only)DELETE /api/products/:id- Delete a product (Admin only)
POST /api/cart/get- Get user's cartPOST /api/cart/add- Add item to cartPOST /api/cart/update- Update cart
POST /api/orders/place- Place an orderPOST /api/orders/create-stripe-session- Create Stripe checkout sessionPOST /api/orders/userorders- Get user ordersPOST /api/orders/list- Get all orders (Admin only)POST /api/orders/status- Update order status (Admin only)POST /api/orders/stripe-webhook- Handle Stripe webhook
POST /api/auth/register- User registrationPOST /api/auth/login- User loginPOST /api/auth/admin- Admin loginGET /api/auth/- Get user detailsPUT /api/auth/update- Update user details
POST /api/wishlist/get- Get user's wishlistPOST /api/wishlist/add- Add item to wishlistPOST /api/wishlist/update- Update wishlist
Cart Page:
- Pratikkumar Dungano - Developer
- Suraj Yaligar - Developer
- Ananya Sah Mu - Developer
This project is licensed under the MIT License.