-
This is a scalable, user-friendly e-commerce platform built from scratch to handle a wide range of products, process secure transactions, and provide an excellent user experience for customers and administrators.
-
Admin Portal: https://e-commerce-app-mern-admin.vercel.app/
-
User Website: https://e-commerce-app-mern-navy.vercel.app/
- User-friendly interface for customers to browse and purchase products
- Secure transaction processing using multiple payment gateway
- Admin dashboard for managing products, orders, and customer information
- Support for multiple product categories and subcategories
- Product filtering and sorting by price, brand, and rating
- Customer reviews and ratings
- Order tracking and history
- Secure user authentication and authorization
- Frontend: React, Redux, React Router, Bootstrap, SCSS
- Backend: Node.js, Express, MongoDB
- Payment Gateway: [insert payment gateway]
- Authentication: Google OAuth
- Node.js (version 14 or higher)
- MongoDB (version 4 or higher)
- Google OAuth credentials (for authentication)
- VS Code or Any Code Editor
- Vercel Account for Hosting Site
- Clone the repository: git clone https://github.com/[anuragsingh6886]/e-commerce-app-mern.git
- move to backend folder to install dependencies
cd backend npm install
- Start the backend server:
npm run start
- move to frontend folder to install dependencies
cd frontend npm install
- Start the frontend server:
npm run start
- Create a .env file in the root directory with the following variables:
- MONGO_URI: MongoDB connection string
- GOOGLE_OAUTH_CLIENT_ID: Google OAuth client ID
- GOOGLE_OAUTH_CLIENT_SECRET: Google OAuth client secret
- PAYMENT_GATEWAY_API_KEY: Payment gateway API key
Contributions are welcome! Please submit a pull request with a clear description of the changes made.
This project is licensed under the MIT License.
Figma design inspiration: Ecommerce Web UI Kit (Community)
Backend database Flow: controller (first interaction point) --> Service (api logic layer) --> Repository (db query layer) --> models (table replica - DB)
for hosting backend