A full-stack hotel management system for booking reservations, processing payments, and managing user preferences.
- User Authentication JWT-based registration/login with roles (User/Admin)
- Hotel Management
Browse hotels with pagination, view details, favorite hotels - Reservation System
Select dates, choose rooms, calculate pricing, automatic reservation process - Payment Processing Secure payment integration with card details
- User Profiles Manage personal info, view booking history, favorites
- Write a Review After reservation is completed you can leave the review
- Admin Dashboard Manage hotels, rooms, view all reservations (Coming Soon)
Backend
.NET Core • Entity Framework Core • PostgreSQL • JWT • Swagger
Frontend
React • TypeScript • React Router • Axios • SweetAlert2
# Clone repository
git clone https://github.com/yourusername/hotel-service.git
cd hotel-service/HotelService.Api
# Configure database
# Update appsettings.Development.json with your PostgreSQL credentials (use appsettings.txt)
{
"ConnectionStrings": {
"DefaultConnection": "Host=localhost;Database=HotelDB;Username=postgres;Password=yourpassword"
}
}
# Run migrations
dotnet ef database update
# Start server
dotnet run