This website lets users easily book hotel rooms by selecting their preferred dates and room types. They can browse room photos, explore additional facilities available, and make well-informed decisions.
The application's backend handles user authentication, hotel information, room availability, and booking transactions using FastAPI endpoints that interact with an SQLite database. Users can create accounts, log in securely, and manage their bookings through the website.
The front-end interface enables users to navigate the website seamlessly, search for rooms and facilities, view available accommodations, and book their desired stay.
Overall, this website provides a convenient platform for users to find and book accommodations for their travel needs.
To get started with this project, you need to have the following installed on your system: -Python 3 -DB Browser for SQLite -VS Code (or any other code editor of your choice) Once installed, you can clone the repository and run the application on your local machine.
Before running the application, you must create an SQLite database and configure the connection details in the dbcontroller.py file in the backend directory.
To run the application, follow these steps:
- Clone the repository to your local machine.
- Open a terminal and navigate to the backend directory.
- Install the required packages by running: pip install “package_name”
- Start the backend server with: python -m uvicorn app:app --reload
- Open a web browser and navigate to http://localhost:8000/ to access the application.
The application offers the following features:
- User-friendly interface
- Easy navigation
- A secure login and registration system
- CRUD operations on data
- A responsive design
- Python FastAPI framework for the backend.
- SQLite for the database.
- HTML, CSS, and JavaScript for user interface.
This project is licensed under the MIT License - see theLicense file for details.