{"id":21310982,"url":"https://github.com/dgonzo27/fastapi-demo","last_synced_at":"2026-04-09T01:31:21.950Z","repository":{"id":219013496,"uuid":"442940271","full_name":"dgonzo27/fastapi-demo","owner":"dgonzo27","description":"Dockerized FastAPI with PostgreSQL","archived":false,"fork":false,"pushed_at":"2021-12-30T02:06:59.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T20:42:01.831Z","etag":null,"topics":["docker","docker-compose","fastapi","fastapi-sqlalchemy","postgresql"],"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/dgonzo27.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}},"created_at":"2021-12-30T02:05:58.000Z","updated_at":"2022-07-19T01:58:12.000Z","dependencies_parsed_at":"2024-01-25T01:00:01.677Z","dependency_job_id":null,"html_url":"https://github.com/dgonzo27/fastapi-demo","commit_stats":null,"previous_names":["dgonzo27/fastapi-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dgonzo27/fastapi-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgonzo27%2Ffastapi-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgonzo27%2Ffastapi-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgonzo27%2Ffastapi-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgonzo27%2Ffastapi-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgonzo27","download_url":"https://codeload.github.com/dgonzo27/fastapi-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgonzo27%2Ffastapi-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["docker","docker-compose","fastapi","fastapi-sqlalchemy","postgresql"],"created_at":"2024-11-21T17:15:34.504Z","updated_at":"2026-04-09T01:31:21.921Z","avatar_url":"https://github.com/dgonzo27.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastapi-demo\n\nwatch the demo on [youtube](https://youtu.be/f9BwGhUnK6s)\n\n\n## getting started\n\n1. build the docker containers:\n\n    ```sh\n    docker compose build\n    ```\n\n2. run the containers in detached mode:\n\n    ```sh\n    docker compose up -d\n    ```\n\n3. apply database migrations:\n\n    ```sh\n    docker compose exec api alembic upgrade head\n    ```\n\n4. visit `http://localhost:8000/docs` to create and get movies\n\n5. stop the containers:\n\n    ```sh\n    docker compose down\n    ```\n\n## database migrations\n\n\u003e __note__: the application must be up and running before using the following commands\n\n1. create a new migration:\n\n    ```sh\n    docker compose exec api alembic revision --autogenerate -m \"your comment here\"\n    ```\n\n2. apply migrations:\n\n    ```sh\n    docker compose exec api alembic upgrade head\n    ```\n\n3. revert a migration:\n\n    ```sh\n    docker compose exec api alembic downgrade -1\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgonzo27%2Ffastapi-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgonzo27%2Ffastapi-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgonzo27%2Ffastapi-demo/lists"}