ProShop is a fully functional e-commerce platform built with the MERN (MongoDB, Express.js, React, Node.js) stack. This application provides PayPal payment integration, Redux Toolkit for state management, and a responsive UI with React-Bootstrap.
- User Authentication & Authorization
- Secure user registration and login.
- Admin-level privileges for managing products and orders.
- Product Management
- Search, filter, and view products.
- Admin dashboard for managing product inventory.
- Shopping Cart & Checkout
- Add/remove items to/from the cart.
- PayPal integration for secure payments.
- Order Tracking
- Users can view order status and details.
- Admins can mark orders as delivered.
- Frontend: React, Redux Toolkit, React-Bootstrap
- Backend: Node.js, Express.js, MongoDB
- Payment: PayPal API
git clone https://github.com/your-username/proshop.git
cd proshop
### 2. Install Dependencies
Run the following commands to install dependencies for both the backend and frontend:
```bash
npm install
npm install --prefix frontendCreate a .env file in the backend directory and configure the following:
NODE_ENV=development
PORT=5000
MONGO_URI=your_mongodb_connection_string
PAYPAL_CLIENT_ID=your_paypal_client_idStart both the backend and frontend servers:
npm run devThe app will run at http://localhost:3000.
Key npm scripts available in the project:
npm run start: Start the backend server.npm run dev: Run the backend and frontend in development mode.npm run data:import: Import sample data into MongoDB.npm run data:destroy: Delete all data from MongoDB.npm run build: Build the production version of the frontend.
======= Proshop Live Demo
Feel free to fork the repository, make improvements, and submit a pull request. Contributions are always welcome!
This project is licensed under the MIT License.
Developed by Kshitiz Sharma.