Dev Electricals is a comprehensive web platform for an electrical products and services business. This full-stack application enables customers to purchase electrical products, request services, schedule repairs, and even sell their used electrical items. The platform includes both client-facing and admin interfaces to streamline business operations.
Watch the project demonstration video here:
Project Video
View the project presentation here:
Project Presentation
Leader: Varun Chauhan (Roll No: 2401010276)
Team Members:
- Prem (Roll No: 2401010243)
- Ashish (Roll No: 2401010284)
- Vicky (Roll No: 2401010248)
Institution: KR Mangalam University, BTech CSE Core, Section B
- Product Catalog: Browse and shop from a wide range of electrical products
- Shopping Cart: Add products to cart and manage quantities
- Sell-to-Us: Upload used electrical products for potential purchase by Dev Electricals
- Services & Repairs: Schedule appointments for various electrical services:
- Home Wiring
- Appliance Installation
- Solar Panel Installation
- General Electrical Repairs
- Contact Information: Access business details including address, contact information, and live location
- Add/remove items from cart
- Update product quantities
- Cash on Delivery payment method
- Product Management: Create, view, edit, and update product details
- Service Request Management: View and manage all service and repair bookings
- Sell-to-Us Management: Review and approve submitted product listings
- Approved items appear in the product catalog with a "Refurbished" tag
- Dashboard: Overview of business operations and pending actions
- Google Sign-In integration for secure customer authentication
- JWT (JSON Web Tokens) for maintaining secure sessions
- React.js: Frontend library for building the user interface
- Tailwind CSS: Utility-first CSS framework for styling
- JavaScript: Programming language for frontend functionality
- Node.js: JavaScript runtime for server-side code
- Express.js: Web application framework for Node.js
- MongoDB: NoSQL database for storing application data
- Cloudinary: Cloud-based image management solution
- Google Authentication: OAuth 2.0 for secure user authentication
- JWT: Token-based authentication mechanism
- Node.js (v14.x or higher)
- npm (v6.x or higher)
- MongoDB (v4.x or higher)
-
Clone the repository
git clone https://github.com/chauhan-varun/varun_chauhan_CSE_B_BussinessWebsite.git cd varun_chauhan_CSE_B_BussinessWebsite
-
Install dependencies for both frontend and backend
# Install backend dependencies cd server npm install # Navigate to frontend directory cd ../client npm install cd ../admin npm install
-
Environment Variables
- Create
.env
file in all three directories refer to the.env.example
files
- Create
-
Start development servers
# Start backend server cd server npm run dev # In a separate terminal, start frontend cd ../client npm run dev # In another terminal, start admin cd ../admin npm run dev
-
Access the application
- client: http://localhost:5173
- admin: http://localhost:5174
- Backend API:
http://localhost:${PORT}
- Register/Login using Google authentication
- Browse products in the catalog
- Add desired items to cart
- Schedule services or repairs as needed
- Submit used electrical products for potential purchase
- Complete checkout with Cash on Delivery
- Access admin panel via admin panel
- Manage product inventory (add, edit, remove products)
- Review and manage service/repair requests
- Review and approve/reject sell-to-us submissions
Developed with ❤️ by Team G11