Manage hotels, create meta-hotels, and more with this Python-based API service.
The Hotel Aggregator Service is a versatile Python-based API for hotel management and aggregation. Whether you need to create hotels, merge multiple supplier hotels into a single meta-hotel, retrieve lists of meta-hotels and their associated hotels, reassign hotels, or track the history of hotel assignments, this service has you covered.
- ๐ข Hotel Creation: Create supplier hotels.
- ๐ Aggregation: Merge multiple hotels into meta-hotels.
- ๐จ Meta-Hotel Listing: Get lists of meta-hotels and their associated hotels.
- ๐ Reassignment: Reassign hotels to different meta-hotels.
- ๐ History Tracking: Track the history of hotel assignments.
No authentication or authorization required.
- Clone the repository.
git clone
- Install the required dependencies.
make install
- Configure the database settings. See the .env.example file for an example.
# Create a .env file
touch .env
- Apply the database migrations.
make migrate
- Run the tests.
make test
- Start the service.
make start
- Create a superuser to access the admin panel.
make superuser
- Access the admin panel at http://localhost:8000/admin.
- Access the API documentation at http://localhost:8000/docs.
Contributions are welcome! Please follow our Contribution Guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.