{"id":19541517,"url":"https://github.com/genesisblock3301/product_delivery_fastapi","last_synced_at":"2026-05-05T01:40:27.131Z","repository":{"id":117979641,"uuid":"442055469","full_name":"GenesisBlock3301/product_delivery_fastapi","owner":"GenesisBlock3301","description":"Product delivery api","archived":false,"fork":false,"pushed_at":"2021-12-27T05:21:45.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T18:46:10.700Z","etag":null,"topics":["fastapi","python"],"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/GenesisBlock3301.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":"2021-12-27T05:04:52.000Z","updated_at":"2021-12-27T05:23:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"54b17f48-6c6a-4a20-8fe8-6fae9056012b","html_url":"https://github.com/GenesisBlock3301/product_delivery_fastapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenesisBlock3301%2Fproduct_delivery_fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenesisBlock3301%2Fproduct_delivery_fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenesisBlock3301%2Fproduct_delivery_fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenesisBlock3301%2Fproduct_delivery_fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenesisBlock3301","download_url":"https://codeload.github.com/GenesisBlock3301/product_delivery_fastapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240795221,"owners_count":19858772,"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":["fastapi","python"],"created_at":"2024-11-11T03:10:56.025Z","updated_at":"2026-05-05T01:40:22.112Z","avatar_url":"https://github.com/GenesisBlock3301.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Product Delivery FastAPI\n\n## What is fastAPI ?\nFastAPI is a Web framework for developing RESTful APIs in Python. FastAPI is based on Pydantic and type hints to validate, serialize, and deserialize data, and automatically auto-generate OpenAPI documents. It fully supports asynchronous programming and can run with Uvicorn and Gunicorn.\n\n### Install FastAPI\n```\npip install \"fastapi[all]\"\n```\n\nYou can also install it part by part.\n\nThis is what you would probably do once you want to deploy your application to production:\n\n```\npip install fastapi\n```\nAlso install uvicorn to work as the server:\n\n\n```\npip install \"uvicorn[standard]\"\n```\n\n## what is uvicorn ?\nUvicorn is a lightning-fast ASGI server implementation, using uvloop and httptools.\n\n## What is pydentic model\nYou can think of models as similar to types in strictly typed languages, or as the requirements of a single endpoint in an API.\n\n\n## Database connection\n```\nfrom sqlalchemy import create_engine\nfrom sqlalchemy.ext.declarative import declarative_base\nfrom sqlalchemy.orm import sessionmaker\n\nSQLALCHEMY_DATABASE_URL = \"sqlite:///./sql_app.db\"\n# SQLALCHEMY_DATABASE_URL = \"postgresql://user:password@postgresserver/db\"\n\nengine = create_engine(\n    SQLALCHEMY_DATABASE_URL, connect_args={\"check_same_thread\": False}\n)\nSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)\n\nBase = declarative_base()\n```\n## Run server \n```\nuvicorn main:app --reload\n```\n\n# Project structure\n## models:\nAll database related files\n\n## schemas:\nAll pydentic model files\n\n## routers\nAll end point define here\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenesisblock3301%2Fproduct_delivery_fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenesisblock3301%2Fproduct_delivery_fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenesisblock3301%2Fproduct_delivery_fastapi/lists"}