{"id":18317678,"url":"https://github.com/datarohit/learning-fastapi","last_synced_at":"2026-04-11T06:03:38.658Z","repository":{"id":216142809,"uuid":"740090667","full_name":"DataRohit/Learning-FastAPI","owner":"DataRohit","description":"This repository contains the code for learning basics of FastAPI with Docker containers and images. The repository uses alembic and sqlalchemy to make migrations and migrate change to the database.","archived":false,"fork":false,"pushed_at":"2024-01-08T16:04:58.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T07:47:16.359Z","etag":null,"topics":["alembic","docker","docker-compose","fastapi","pgadmin","postgres","sqlalchemy","swagger-ui"],"latest_commit_sha":null,"homepage":"","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/DataRohit.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-01-07T13:56:21.000Z","updated_at":"2024-01-08T16:16:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b75020e-31d2-485e-a9bd-c50f1dd69416","html_url":"https://github.com/DataRohit/Learning-FastAPI","commit_stats":null,"previous_names":["datarohit/learning-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FLearning-FastAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FLearning-FastAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FLearning-FastAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FLearning-FastAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataRohit","download_url":"https://codeload.github.com/DataRohit/Learning-FastAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"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":["alembic","docker","docker-compose","fastapi","pgadmin","postgres","sqlalchemy","swagger-ui"],"created_at":"2024-11-05T18:07:06.049Z","updated_at":"2025-12-30T23:05:09.183Z","avatar_url":"https://github.com/DataRohit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Learning-FastAPI**\n\n## **FastAPI Docker Setup Commands**\n\n**1. Create a New Migration**\n```bash\n    docker-compose run app alembic revision --autogenerate -m \"New Migration\"\n```\n\n**2. Migrate the Changes to Database**\n```bash\n    docker-compose run app alembic upgrade head\n```\n\n**3. Build the App Container**\n```bash\n    docker-compose build\n```\n\n**4. Start the Docker Container and Images**\n```bash\n    docker-compose up\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatarohit%2Flearning-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatarohit%2Flearning-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatarohit%2Flearning-fastapi/lists"}