A full-stack ecommerce platform with web and mobile applications.
- User Authentication (Login/Register)
- Product Management
- Shopping Cart
- Order Processing
- Payment Integration (Razorpay)
- Admin Dashboard
- Seller Dashboard
- Real-time Updates
- React.js
- Redux for State Management
- Material-UI
- Axios for API Calls
- Node.js
- Express.js
- MongoDB
- JWT Authentication
- Socket.io for Real-time Updates
- Node.js (v14 or higher)
- npm or yarn
- MongoDB
- Razorpay Account (for payment processing)
- Clone the repository:
git clone https://github.com/smakam/ecommerce-cursor.git
cd ecommerce-cursor- Install dependencies:
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install-
Set up environment variables: Create
.envfiles in both frontend and backend directories with the required variables. -
Start the development servers:
# Start backend server
cd backend
npm run dev
# Start frontend server
cd frontend
npm startecommerce/
├── frontend/ # React frontend application
│ ├── public/ # Static files
│ ├── src/ # Source code
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Page components
│ │ ├── redux/ # Redux store and actions
│ │ └── utils/ # Utility functions
│ └── ...
├── backend/ # Node.js backend application
│ ├── config/ # Configuration files
│ ├── controllers/ # Route controllers
│ ├── models/ # Database models
│ ├── routes/ # API routes
│ └── ...
└── ...
REACT_APP_API_URL=http://localhost:5000
REACT_APP_RAZORPAY_KEY_ID=your_razorpay_key
PORT=5000
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_KEY_SECRET=your_razorpay_secret
The API documentation is available at /api-docs when running the backend server.
- Mobile Application - The mobile version of this ecommerce platform
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Sreenivas Makam - @smakam