A full-stack e-commerce marketplace platform designed for campus communities, allowing students to buy, sell, and auction items locally.
- Marketplace: Browse and search for items (Books, Electronics, Stationery, etc.).
- Smart Filtering: Filter by category, price, and location.
- Real-time Chat: Integrated socket.io chat for buyers and sellers completely working.
- Location Services: Map integration for easy meetup coordination.
- User Profiles: Manage listings, orders, and favorites.
- Analytics: Visual charts for revenue, orders, and user growth.
- User Management: Monitor and manage user accounts.
- Order Tracking: View and update order statuses.
- Content Moderation: Manage listings and reviews.
- Secure Auth: JWT authentication with role-based access control.
- Real-time Engine: Socket.io for instant messaging and notifications.
- Cloud Storage: Cloudinary integration for image uploads.
- Robust API: Express.js REST API with MongoDB.
- Frontend: React.js, Vite, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB Atlas
- Real-time: Socket.io
- Deployment: Docker, Vercel, Render
The easiest way to run the entire app (Frontend, Admin, Backend, Database connection).
-
Clone the repo:
git clone https://github.com/sde-saharsh/Campus_Mart.git cd Campus_Mart -
Configure Environment: Create a
.envfile in the root directory (copy from.env.example).cp .env.example .env
Open
.envand verify your MongoDB URI and Cloudinary credentials. -
Run with Docker:
docker compose up --build
-
Access App:
- Frontend: http://localhost:5173
- Admin: http://localhost:5174
- Backend: http://localhost:8001
-
Backend:
cd Backend npm install # Setup .env file in Backend/ npm start
-
Frontend / Admin:
cd frontend # or cd Admin npm install npm run dev
MyApp/
├── Backend/ # Node.js API Server
├── frontend/ # Student Marketplace Client
├── Admin/ # Management Dashboard
├── docker-compose.yml
├── DEPLOYMENT_GUIDE.md
└── README.md
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
Developed by Saharsh.