{"id":24029941,"url":"https://github.com/holedev/manage-airline","last_synced_at":"2026-03-01T16:32:33.122Z","repository":{"id":150087808,"uuid":"572058841","full_name":"holedev/manage-airline","owner":"holedev","description":"A comprehensive Flight Management System built with Python Flask that handles flight scheduling, ticket booking, and airline administration.","archived":false,"fork":false,"pushed_at":"2025-03-30T14:53:28.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T05:34:41.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/holedev.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":"2022-11-29T13:19:54.000Z","updated_at":"2025-03-30T14:54:24.000Z","dependencies_parsed_at":"2024-01-11T11:28:18.572Z","dependency_job_id":"74a96195-06f5-43bb-83fc-be14f6c69761","html_url":"https://github.com/holedev/manage-airline","commit_stats":null,"previous_names":["leho-dev/manage-airline","holedev/manage-airline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/holedev/manage-airline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fmanage-airline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fmanage-airline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fmanage-airline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fmanage-airline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holedev","download_url":"https://codeload.github.com/holedev/manage-airline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fmanage-airline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:18:32.386Z","status":"ssl_error","status_checked_at":"2026-03-01T16:18:04.258Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-01-08T17:05:02.763Z","updated_at":"2026-03-01T16:32:33.108Z","avatar_url":"https://github.com/holedev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Manage Airline\n\nA comprehensive Flight Management System built with Python Flask that handles flight scheduling, ticket booking, and airline administration.\n\n## Overview\n\nManage Airline is a web-based application that provides a complete solution for airline management with different user roles (Admin, Staff, User) and features including flight scheduling, ticket booking, and payment processing.\n\n## Technical Stack\n\n- **Backend**: Python Flask\n- **Frontend**: Bootstrap 5\n- **Database**: MySQL (SQL Workbench)\n- **Authentication**: Built-in auth + Google OAuth\n\n## Features\n\n### Authentication\n- User login/signup system\n- Google OAuth integration\n- Role-based access control (Admin, Staff, User)\n\n### Flight Management\n- Flight schedule creation and management\n- Flight search functionality\n- Flight listing and details\n\n### Ticket System\n- Online ticket booking\n- Ticket preview\n- Form-based ticket creation\n\n### Admin Dashboard\n- Flight approval system\n- Business rules management\n- Statistical reports and analytics\n\n### Payment Integration\n- MoMo payment gateway integration\n- Secure transaction processing\n\n## Requirements\n\n- Python 3.10 or higher\n- MySQL Workbench 8.0.31\n- pip (Python package manager)\n\n## Installation\n\n1. Clone the repository\n```bash\ngit clone [repository-url]\ncd manage-airline\n```\n\n2. Create and activate virtual environment\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. Install dependencies\n```bash\npip install -r requirements.txt\n```\n\n4. Configure environment variables\n   - Create `.env` file in project root\n   - Add required configuration:\n     ```\n     DB_NAME=your_database_name\n     DB_PASSWORD=your_database_password\n     GOOGLE_CLIENT_ID=your_google_client_id\n     GOOGLE_CLIENT_SECRET=your_google_client_secret\n     ```\n\n5. Initialize database\n   - Ensure MySQL server is running\n   - Update database connection details in models.py\n\n6. Run the application\n```bash\npython index.py\n```\n\n## Usage Flow\n\n1. **Staff**: Creates flight schedules\n2. **Admin**: Reviews and approves flight schedules\n3. **User**: Books tickets for approved flights\n\n## Payment Testing\n\nFor testing MoMo payments, download [MOMO UAT Test App](https://developers.momo.vn/v3/vi/docs/payment/onboarding/test-instructions/)\n\n## Development\n\nTo set up the development environment in PyCharm:\n\n1. Open project in PyCharm\n2. Configure Python Interpreter:\n   - Go to File → Settings → Project: manage-airline → Python Interpreter\n   - Add Interpreter → Create Virtual Environment\n3. Install dependencies in the virtual environment\n4. Configure run configuration to execute index.py\n\n## Project Structure\n\n```\nmanage_airline/\n├── static/          # Static assets (CSS, JS)\n├── templates/       # HTML templates\n│   ├── admin/      # Admin dashboard templates\n│   └── layout/     # Base templates and layouts\n├── controllers.py   # Route handlers\n├── models.py       # Database models\n├── dao.py          # Data access objects\n└── index.py        # Application entry point\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\nHappy Flying! ✈️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedev%2Fmanage-airline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholedev%2Fmanage-airline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedev%2Fmanage-airline/lists"}