{"id":19885992,"url":"https://github.com/rishabkumar7/docker-fast-api","last_synced_at":"2025-09-18T21:31:12.817Z","repository":{"id":250087002,"uuid":"832862612","full_name":"rishabkumar7/docker-fast-api","owner":"rishabkumar7","description":"Intro to Docker with FastAPI.","archived":false,"fork":false,"pushed_at":"2024-07-25T02:53:42.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T16:04:49.108Z","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/rishabkumar7.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-07-23T21:55:22.000Z","updated_at":"2024-07-25T02:55:29.000Z","dependencies_parsed_at":"2024-07-25T05:04:51.913Z","dependency_job_id":null,"html_url":"https://github.com/rishabkumar7/docker-fast-api","commit_stats":null,"previous_names":["rishabkumar7/docker-fast-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdocker-fast-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdocker-fast-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdocker-fast-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fdocker-fast-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/docker-fast-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233524182,"owners_count":18689079,"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":[],"created_at":"2024-11-12T17:35:59.065Z","updated_at":"2025-09-18T21:31:07.516Z","avatar_url":"https://github.com/rishabkumar7.png","language":"Python","readme":"# docker-fast-api\n\nThis project demonstrates how to containerize a FastAPI application using Docker. FastAPI is a modern, fast (high-performance), web framework for building APIs with Python. It is part of the [YouTube Docker Crash Course on my channel](https://youtu.be/s7fnNNV-CM4).\n\n## Features\n\n- FastAPI for building APIs\n- Docker for containerization\n- Simple and easy-to-understand project structure\n\n## Requirements\n\n- Python 3.9 or higher\n- Docker\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/rishabkumar7/docker-fast-api.git\n    cd docker-fast-api\n    ```\n\n2. Install dependencies:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nTo run the FastAPI application locally without Docker.\n```sh\nfastapi dev app/main.py\n```\n\n## API Endpoints\n\n`GET /`: Returns a welcome message.\n`GET /items/{item_id}`: Returns the item details for the given item_id.\n\n\n## Docker\n\nTo build and run the Docker container:\n\n1. Build the Docker image:\n``` sh\ndocker build -t docker-fast-api .\n```\n\n2. Run the Docker container:\n``` sh\ndocker run -d -p 80:80 docker-fast-api\n```\n\n## Author\n\n- Twitter: [@rishabincloud](https://x.com/rishabincloud)\n- LinkedIn: [@rishabkumar7](https://linkedin.com/in/rishabkumar7)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fdocker-fast-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fdocker-fast-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fdocker-fast-api/lists"}