{"id":17059586,"url":"https://github.com/antonio-pedro99/irctc-backend","last_synced_at":"2025-08-04T05:33:08.114Z","repository":{"id":60252940,"uuid":"474962415","full_name":"antonio-pedro99/irctc-backend","owner":"antonio-pedro99","description":"Backend for a train reservation System using FastAPI and MySQL","archived":false,"fork":false,"pushed_at":"2023-03-16T07:10:55.000Z","size":149,"stargazers_count":8,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T12:02:40.995Z","etag":null,"topics":["authentication","flask","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonio-pedro99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"License","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,"zenodo":null}},"created_at":"2022-03-28T11:00:39.000Z","updated_at":"2023-10-15T16:12:21.000Z","dependencies_parsed_at":"2025-04-12T17:52:27.323Z","dependency_job_id":"bcc745c7-783c-4cf7-84fe-0d95504a67b3","html_url":"https://github.com/antonio-pedro99/irctc-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antonio-pedro99/irctc-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonio-pedro99%2Firctc-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonio-pedro99%2Firctc-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonio-pedro99%2Firctc-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonio-pedro99%2Firctc-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonio-pedro99","download_url":"https://codeload.github.com/antonio-pedro99/irctc-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonio-pedro99%2Firctc-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268654336,"owners_count":24285122,"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-08-04T02:00:09.867Z","response_time":79,"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":["authentication","flask","python"],"created_at":"2024-10-14T10:34:51.508Z","updated_at":"2025-08-04T05:33:08.062Z","avatar_url":"https://github.com/antonio-pedro99.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backend\n\u003ch6 align=\"center\" \u003e\n    Backend for \u003ca href=\"https://github.com/antonio-pedro99/irctc-app\"\u003e IRCTC APP \u003c/a\u003e. This backend was used to maintain, secure and give access to the database through RestAPI calls.\n\u003c/h1\u003e\n\n## Inital setup for project \n    - checkout to dev branch\n    - git clone \u003curl\u003e\n    - pip install virtualenv\n    - cd backend\n    - virtualenv venv\n    - venv\\Scripts\\activate (windows)\n    - source venv/bin/activate (UNIX systems)\n    - pip install -r requirements.txt\n\n## MySQL Database\nYou need a mysql server running on your machine. Therefore, make sure you have an instance of mysql running. Furthermore, you now need to create the `railway_system` database, you can name it as per your wishes. After this, follow the steps:\n- Go to `db` and run each .sql file starting from railway_system, views, triggers, data. \n- Create .env file and fill the parameters accordingly. It should look like this\n`MYSQL_DATABASE = \"\u003cyour mysql db\u003e\"\n MYSQL_USER = \"\u003cyour mysql user\u003e\"\n MYSQL_ROOT_PASSWORD = \"\u003cyour mysql password\u003e\"`\nNow you will be able to acess the database.\n     \n## Run the backend\n    - uvicorn main:app --reload\n    - open http://localhost:8000/docs\n\n## Testing\n    - open http://localhost:8000/docs\n    \n## Subsequent updations\n    - git pull\n    - venv\\Scripts\\activate (windows)\n    - source venv/bin/activate (UNIX systems)\n    - pip install -r requirements.txt\n\n___\n## Interactive Docs\n   - open http://localhost:8000/docs\n   - alternatively http://localhost:8000/redoc\n___\n\n# FastAPI GUIDE\nhttps://fastapi.tiangolo.com/\n# AWS GUIDE\n\n# SQLALCHEMY GUIDE\n\nhttps://docs.sqlalchemy.org/en/14/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonio-pedro99%2Firctc-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonio-pedro99%2Firctc-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonio-pedro99%2Firctc-backend/lists"}