A comprehensive salon management system with AI-powered style recommendations, booking system, and notification features.
- Face shape analysis using AI
- Personalized hairstyle and beard recommendations
- Virtual try-on functionality
- 97+ style photos integrated
- Online appointment booking
- Real-time availability
- Multiple salon support
- Payment integration with Razorpay
- Email notifications for appointments
- In-app notifications for barbers
- Automated appointment reminders
- Role-based access (Admin, Barber, User)
- Authentication system
- Profile management
- Next.js 14
- TypeScript
- Tailwind CSS
- Framer Motion
- Face-API.js
- Node.js
- Express
- MongoDB
- Mongoose
- JWT Authentication
- Nodemailer
- Node.js 18+
- MongoDB
- npm or yarn
cd backend
npm install
npm startcd frontend
npm install
npm run dev- Frontend: http://localhost:3123
- Backend API: http://localhost:5000
- Style Advisor: http://localhost:3123/style-advisor
smart-salon-system/
├── backend/ # Node.js API server
│ ├── controllers/ # API controllers
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ ├── utils/ # Utility functions
│ └── server.js # Server entry point
├── frontend/ # Next.js application
│ ├── app/ # Next.js pages
│ ├── components/ # React components
│ ├── data/ # Static data
│ ├── lib/ # Utility libraries
│ └── public/ # Static assets
└── README.md # This file
Create .env files in both backend and frontend directories.
Backend .env:
MONGODB_URI=mongodb://localhost:27017/salon_management
JWT_SECRET=your-jwt-secret
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
Frontend .env.local:
NEXT_PUBLIC_API_URL=http://localhost:5000/api
NEXT_PUBLIC_RAZORPAY_KEY_ID=your-razorpay-key
-
For Users:
- Sign up and upload photo for AI style analysis
- Browse recommended styles
- Book appointments
-
For Barbers:
- Register and get approved
- Manage schedule
- View notifications
-
For Admins:
- Manage users and barbers
- Oversee bookings
- System analytics
Add screenshots of your application here
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, email support@smartsalon.com or create an issue in the repository.
Built with ❤️ using Next.js and Node.js