A modern, responsive frontend application for a salon booking platform built with React, Redux, and Tailwind CSS.
This app allows customers, salon owners, and admins to interact with the system through an intuitive UI with real-time updates and seamless booking experience.
- ⚛️ React.js
- 🗂 Redux (State Management)
- 🎨 Tailwind CSS
- 🔗 Axios (API Communication)
- 🔔 WebSocket (Real-time Notifications)
Based on the current project structure:
src/
├── Admin/ # Admin dashboard & management
├── Auth/ # Authentication (Login, Register, Reset)
├── Customer/ # Customer-facing UI
├── Redux/ # Global state management
├── routes/ # Route configurations
├── salon/ # Salon owner dashboard
├── util/ # Utility functions
├── config/ # API configuration
└── App.js # Root component- Browse salons
- View services and details
- Book appointments
- Make payments
- Receive notifications
- Write reviews
- Manage salon profile
- Add/update services
- View bookings
- Track earnings
- Dashboard overview
- Manage salons
- Monitor activity
- Login & Registration system
- Password reset flow
- Role-based access routing
- Integrated with backend authentication (Keycloak)
Organized into modules:
- Auth
- Booking
- Category
- Salon
- Payment
- Notifications
- Reviews
Each module contains:
- actions
- reducers
- actionTypes
Custom route handling for:
- Admin routes
- Customer routes
- Salon routes
Ensures:
- Protected routes
- Role-based navigation
Configured in:
src/config/api.js- Centralized API calls
- Backend communication via Axios
- Implemented using WebSocket
- Custom hook:
useNotificationWebsocket.jsx- Enables live updates for bookings and events
- Handles payment success flow
- Integrated with backend payment services
- UI handler:
PaymentSuccessHandler.jsx- Tailwind CSS for styling
- Responsive design
- Reusable components
- Clean and modern UI
npm installnpm startApp runs at:
http://localhost:3000Create .env file in frontend root:
REACT_APP_API_URL=http://localhost:8080npm test- Dark mode support
- Performance optimization
- PWA support
- Better UI animations
- Advanced filtering & search
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
MIT License
- React
- Redux
- Tailwind CSS
Feel free to connect for collaboration or feedback.