This project is a scalable e-commerce backend inspired by Flipkart, built with Node.js, Express, and MongoDB. It supports secure user authentication, order processing, and transaction management, ensuring a seamless shopping experience.
- Scalable Architecture: Handles 10,000+ products, users, and transactions efficiently.
- Secure Authentication: Implements phone number authentication with JWT, securing 100% of user logins and sessions.
- Admin Management: Integrated AdminJS dashboard, allowing admins to manage 5,000+ orders and payments seamlessly.
- RESTful APIs: Designed for efficient order processing, transaction workflow, and seamless payments, ensuring fast data retrieval.
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT, Phone Number Authentication
- Admin Panel: AdminJS
Ensure you have the following installed:
- Node.js (latest LTS version recommended)
- npm or yarn
- MongoDB (local or cloud instance)
- Clone the Repository
git clone https://github.com/your-username/flipkart-backend.git cd flipkart-backend - Install Dependencies
npm install
- Set Up Environment Variables
- Create a
.envfile in the root directory and add your credentials.
MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret ADMINJS_SECRET=your_adminjs_secret
- Create a
- Start the Development Server
npm run dev
- Build for Production
npm run build
Contributions are welcome! Feel free to fork this repository, create a new branch, and submit a pull request.
This project is licensed under the MIT License.
🚀 This E-Commerce Backend is designed for scalability, security, and efficient management. Try it out and enhance it further!