A full-stack web application connecting customers with local service providers for home services like plumbing, electrical work, cleaning, and more.
- π Browse and search service providers by category
- π Find nearby providers based on pincode
- π Book services with preferred date & time
- π° Propose your own price for services
- β Rate and review completed services
- π Track booking history and status
- πͺ Create and manage service listings
- π Dashboard with booking analytics
- β Accept/reject booking requests
- π΅ View earnings and performance stats
- π Manage customer bookings
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite, TailwindCSS 4 |
| Backend | Node.js, Express 5 |
| Database | MongoDB with Mongoose |
| Auth | JWT (JSON Web Tokens) |
| Styling | Glassmorphism, Dark Theme |
HyperLSP/
βββ Frontend/
β βββ src/
β β βββ pages/
β β β βββ public/ # Landing, Login, Signup
β β β βββ user/ # Customer pages
β β β βββ provider/ # Provider pages
β β βββ services/
β β β βββ api.js # API service layer
β β βββ App.jsx # Routes
β βββ package.json
β
βββ Backend/
βββ Controllers/ # Business logic
βββ Models/ # MongoDB schemas
βββ Routes/ # API endpoints
βββ Middlewares/ # Auth middleware
βββ config/ # Database config
βββ server.js # Entry point
- Node.js 18+
- MongoDB Atlas account
- Git
git clone https://github.com/yourusername/HyperLSP.git
cd HyperLSPcd Backend
npm installCreate .env file:
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
FRONTEND_URL=http://localhost:5173
PORT=3000Start the server:
npm run devcd Frontend
npm installCreate .env file:
VITE_API_URL=http://localhost:3000/apiStart the app:
npm run dev- Push code to GitHub
- Connect repo to Cyclic.sh
- Set root directory:
Backend - Add environment variables
- Import repo on Vercel
- Set root directory:
Frontend - Add
VITE_API_URLenvironment variable
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/signup/user |
Register customer |
| POST | /api/auth/signup/provider |
Register provider |
| POST | /api/auth/login/user |
Customer login |
| POST | /api/auth/login/provider |
Provider login |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/services/categories |
Get all categories |
| GET | /api/services/my-services |
Get provider's services |
| POST | /api/services |
Add new service |
| PUT | /api/services/:id |
Update service |
| DELETE | /api/services/:id |
Delete service |
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/bookings |
Create booking |
| GET | /api/bookings/my-bookings |
Get user bookings |
| GET | /api/bookings/requests |
Get provider requests |
| PUT | /api/bookings/:id/accept |
Accept booking |
| PUT | /api/bookings/:id/complete |
Complete booking |
| PUT | /api/bookings/:id/rate |
Rate booking |
Modern dark theme with glassmorphism effects, featuring nearby providers and quick booking access.
Analytics overview, booking management, and service listings with a premium UI design.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.
Your Name
- GitHub: @yourusername
- LinkedIn: Your LinkedIn
β Star this repo if you found it helpful!