A modern, responsive hotel management system built with React and TypeScript. This application provides both guest-facing features and a comprehensive admin panel for managing hotel operations.
- Homepage: Beautiful landing page with hotel facilities showcase
- Room Booking: Browse and book different room types with availability checking
- Services: View and request hotel services (dining, spa, transportation, etc.)
- Reviews: Read guest reviews and submit your own feedback
- Billing: View detailed invoices and payment information
- Dashboard: Comprehensive overview with KPIs and analytics
- Reservation Management: View, update, and manage all reservations
- Billing Management: Handle invoices and payment tracking
- Service Management: Manage hotel services and amenities
- Reports & Analytics: Detailed performance reports with charts
- Feedback Management: Monitor and respond to guest reviews
- Frontend: React 18 with TypeScript
- Routing: React Router DOM
- Charts: Recharts for data visualization
- Icons: Lucide React
- Styling: Custom CSS with CSS Variables
- State Management: React Context API with useReducer
-
Navigate to the project directory:
cd hotel-management-system -
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open http://localhost:3000 to view it in the browser.
- Modern UI: Clean, intuitive interface with smooth animations
- Responsive Design: Optimized for desktop, tablet, and mobile devices
- Accessibility: Proper ARIA labels and keyboard navigation
- Color Scheme: Professional teal and blue color palette
- Typography: Inter font family for excellent readability
To access the admin panel:
- Click "Admin" in the navigation
- Use the demo credentials:
- Username: admin
- Password: password
- Desktop: 1024px and above
- Tablet: 768px - 1023px
- Mobile: Below 768px
Home: Landing page with hero section and facilitiesRooms: Room browsing and booking interfaceServices: Service catalog and request formReviews: Guest reviews and feedback systemBill: Invoice viewing and payment interface
AdminDashboard: KPI cards and analytics chartsAdminReservations: Reservation management tableAdminBilling: Invoice and payment managementAdminServices: Service management interfaceAdminReports: Analytics and reporting dashboardAdminFeedback: Review and feedback management
The application uses React Context API with useReducer for state management:
- HotelContext: Centralized state for all hotel data
- Actions: Dispatched actions for state updates
- Types: TypeScript interfaces for type safety
- CSS Variables: Consistent theming across components
- Component-specific CSS: Isolated styles for each component
- Responsive Design: Mobile-first approach with media queries
- Animation: Smooth transitions and hover effects
- The application will automatically open in your browser
- Navigate through different sections using the top navigation
- Try booking a room or exploring the services
- Access the admin panel to see management features
- All data is stored in local state (no backend required)
- Backend integration with REST API
- Real-time notifications
- Payment processing integration
- Advanced filtering and search
- Multi-language support
- Dark mode theme
This is a demo application showcasing modern React development practices. Feel free to use it as a reference or starting point for your own hotel management system.
This project is for demonstration purposes. Feel free to use and modify as needed.