A comprehensive, responsive e-commerce solution featuring a product catalog, user authentication, shopping cart functionality, and secure checkout.
Features User Authentication: Secure Sign-up and Login using JWT (JSON Web Tokens).
Product Management: Browse products by categories with search and filter capabilities.
Shopping Cart: Add, remove, and update item quantities in real-time.
Order History: Users can view their previous orders and shipping status.
Admin Dashboard: Specialized routes for managing inventory, adding new products, and viewing sales.
Secure Payments: Integrated with [Stripe/PayPal] for handling transactions.
Responsive Design: Fully optimized for Mobile, Tablet, and Desktop views.
Installation Clone the repository:
Bash
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name Install Backend dependencies:
Bash
cd backend npm install Install Frontend dependencies:
Bash
cd ../frontend npm install Environment Variables: Create a .env file in the root directory and add your credentials:
Plaintext
PORT=5000 MONGO_URI=your_mongodb_uri JWT_SECRET=your_secret_key STRIPE_API_KEY=your_key Run the application:
Bash
npm run dev