{"id":23357798,"url":"https://github.com/trixsec/web-application-data-management","last_synced_at":"2025-09-10T05:12:43.704Z","repository":{"id":245464039,"uuid":"818326863","full_name":"TrixSec/Web-application-Data-management","owner":"TrixSec","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-21T15:59:34.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-01T23:41:23.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/TrixSec.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-06-21T15:43:44.000Z","updated_at":"2025-02-15T13:43:23.000Z","dependencies_parsed_at":"2024-06-22T08:29:56.711Z","dependency_job_id":null,"html_url":"https://github.com/TrixSec/Web-application-Data-management","commit_stats":null,"previous_names":["trixsec/web-application-data-management"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TrixSec/Web-application-Data-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrixSec%2FWeb-application-Data-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrixSec%2FWeb-application-Data-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrixSec%2FWeb-application-Data-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrixSec%2FWeb-application-Data-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrixSec","download_url":"https://codeload.github.com/TrixSec/Web-application-Data-management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrixSec%2FWeb-application-Data-management/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274416323,"owners_count":25280933,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-21T10:32:03.634Z","updated_at":"2025-09-10T05:12:43.672Z","avatar_url":"https://github.com/TrixSec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Group Accommodation Allocation Web Application\nThis web application facilitates the digitalization of the hospitality process for group accommodation in hostels. It allows users to upload two CSV files containing group information and hostel room details. The application then allocates rooms based on specified criteria and provides allocation details.\n\n### Features\nUpload CSV Files: Users can upload two CSV files:\n\n### Group Information CSV: Contains details about groups such as group ID, number of members, and gender.\nHostel Information CSV: Contains information about hostel rooms including hostel name, room number, capacity, and gender accommodation.\nRoom Allocation Algorithm: Allocates rooms based on the following criteria:\n\n### Members of the same group (same ID) stay in the same room whenever possible.\nBoys and girls stay in their respective hostels.\nRoom capacity is not exceeded.\nOutput: Displays allocated rooms with details such as group ID, hostel name, and room number. Also provides a downloadable CSV file with allocation details.\n\n### Technologies Used\nFrontend: HTML, CSS, JavaScript (Fetch API)\nBackend: Python (Flask)\nData Processing: Pandas library for Python\n\n### Requirements \n\nMake sure you have Python 3.x installed.\n```pip3 install Flask pandas```\n\n### Usage Run the Flask Server:\n``` python3 app.py ```\n\n### Access the Application:\nOpen your web browser and go to http://localhost:5000/\n\n### Upload CSV Files:\n\nChoose your Group Information CSV and Hostel Information CSV files using the file input fields.\nClick on the \"Upload\" button to process the files.\n\n### View Results:\n\nOnce files are uploaded, allocated rooms will be displayed on the web page.\nYou can download the allocation details as a CSV file using the provided link.\n\n##### Example CSV files (groups.csv and hostels.csv) are provided in the repository for testing purposes.\n\n#### Troubleshooting\nCross-Origin Request Blocked: If you encounter CORS issues during development, ensure that the frontend (`index.html`) is served by Flask (`app.py`). Check the Flask server logs and browser console for any error messages.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixsec%2Fweb-application-data-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrixsec%2Fweb-application-data-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixsec%2Fweb-application-data-management/lists"}