{"id":20137815,"url":"https://github.com/manjit-baishya-datascience/homestay-database-management-system","last_synced_at":"2026-06-07T03:32:54.011Z","repository":{"id":238948046,"uuid":"798065812","full_name":"manjit-baishya-datascience/Homestay-Database-Management-System","owner":"manjit-baishya-datascience","description":"This Accommodation Booking System is designed to facilitate the booking and management of listings, guests, hosts, bookings, amenities, and reviews.","archived":false,"fork":false,"pushed_at":"2024-05-11T14:09:19.000Z","size":466,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T09:46:27.819Z","etag":null,"topics":["database-design","schema","sql","sqlite"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manjit-baishya-datascience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T02:59:47.000Z","updated_at":"2024-05-11T14:10:19.000Z","dependencies_parsed_at":"2024-05-09T04:22:56.024Z","dependency_job_id":"8d546c69-c0ce-4e21-b590-959a60b9b445","html_url":"https://github.com/manjit-baishya-datascience/Homestay-Database-Management-System","commit_stats":null,"previous_names":["manjit-baishya-datascience/homestay-database-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjit-baishya-datascience%2FHomestay-Database-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjit-baishya-datascience%2FHomestay-Database-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjit-baishya-datascience%2FHomestay-Database-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjit-baishya-datascience%2FHomestay-Database-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manjit-baishya-datascience","download_url":"https://codeload.github.com/manjit-baishya-datascience/Homestay-Database-Management-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582553,"owners_count":19985845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-design","schema","sql","sqlite"],"created_at":"2024-11-13T21:29:46.195Z","updated_at":"2025-03-02T23:13:36.058Z","avatar_url":"https://github.com/manjit-baishya-datascience.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Homestay - Databse Management System** 🏡📅\n\n![Header](/assets/header.png)\n\nThis Accommodation Booking System is designed to facilitate the booking and management of listings, guests, hosts, bookings, amenities, and reviews. It provides a comprehensive solution for users to find and book accommodations while also allowing hosts to manage their listings and interact with guests. 🛌✨\n\n## **Table of Contents** 📋\n\n- [**Database Schema**](#database-schema) 🗄️\n- [**Schema Diagram**](#schema-diagram) ❇️\n- [**Tables**](#tables) 📄\n- [**Functionalities**](#functionalities) ⚙️\n- [**Contributing**](#contributing) 🤝\n- [**License**](#license) 📝\n\n## **Database Schema** 🗄️\n\nThe database schema includes tables to store information about listings, guests, hosts, bookings, amenities, and reviews. Relationships are established between entities to maintain data integrity. 🛡️\n\n## **Schema Diagram**\n![Header](/assets/schema.png)\n\n## **Tables** 📄\n\n1. `Listings`: Stores information about accommodation listings including listing ID, host ID, title, description, address, city, state, country, latitude, longitude, price, maximum guests, beds, baths, amenities, rating, and reviews.\n\n2. `Guests`: Contains details about guests including guest ID, guest name, email, password, phone number, profile picture, date joined, total bookings, ratings, and reviews.\n\n3. `GuestReviews`: Stores reviews given by guests for hosts including host ID, guest ID, rating, and review.\n\n4. `Hosts`: Stores information about hosts including host ID, host name, email, password, phone number, profile picture, date joined, total listings, total bookings, ratings, and reviews.\n\n5. `Bookings`: Contains details about bookings including booking ID, guest ID, listing ID, host ID, check-in date, check-out date, total price, number of guests, confirmation status, and reviews/ratings by guest, host, and for the listing.\n\n6. `Amenities`: Stores information about amenities available in listings including amenity ID and name.\n\n7. `ListingAmenities`: Associates listings with amenities using listing ID and amenity ID.\n\n## **Functionalities** ⚙️\n\n- `Listing management`: Hosts can create, update, and manage their accommodation listings.\n- `Booking management`: Guests can search for listings, make bookings, and manage their bookings.\n- `Review system`: Both guests and hosts can leave reviews and ratings for each other and for listings.\n- `Amenities management`: Hosts can specify amenities available in their listings, enhancing the booking experience for guests.\n\n## **Contributing** 🤝\n\nContributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.\n\n## **License** 📝\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanjit-baishya-datascience%2Fhomestay-database-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanjit-baishya-datascience%2Fhomestay-database-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanjit-baishya-datascience%2Fhomestay-database-management-system/lists"}