{"id":23173296,"url":"https://github.com/insafmin/library_management_api","last_synced_at":"2026-04-12T18:43:02.276Z","repository":{"id":267692019,"uuid":"898508539","full_name":"InsafMin/library_management_api","owner":"InsafMin","description":"Library storage management system using API","archived":false,"fork":false,"pushed_at":"2024-12-12T12:35:48.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T08:47:56.982Z","etag":null,"topics":["alembic","docker","fastapi","postgres","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InsafMin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-12-04T14:19:56.000Z","updated_at":"2024-12-13T15:59:26.000Z","dependencies_parsed_at":"2024-12-12T10:41:38.917Z","dependency_job_id":null,"html_url":"https://github.com/InsafMin/library_management_api","commit_stats":null,"previous_names":["insafmin/db-iad-project","insafmin/library_management_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsafMin%2Flibrary_management_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsafMin%2Flibrary_management_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsafMin%2Flibrary_management_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsafMin%2Flibrary_management_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InsafMin","download_url":"https://codeload.github.com/InsafMin/library_management_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247268033,"owners_count":20911068,"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","fastapi","postgres","sqlalchemy"],"created_at":"2024-12-18T05:11:38.288Z","updated_at":"2026-04-12T18:43:02.204Z","avatar_url":"https://github.com/InsafMin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Async Library Management System with FastAPI, SQLAlchemy Postgres, Alembic, Docker\n___\nThis is a prototype of a simple Web REST API built with [FastAPI](https://fastapi.tiangolo.com/) and an async Postgres database. To connect to the database, [SQLAlchemy 2.0](https://docs.sqlalchemy.org/en/20/) and [Asyncpg](https://magicstack.github.io/asyncpg/current/) are used. [Alembic](https://alembic.sqlalchemy.org/en/latest/index.html) is used for migrations.\n\nTo set up the connection to the database and launch the API, use docker-compose.\n## Getting Started\n___\n### Installing\nFirst, make sure you have the latest version of Docker.\n\nThen, to get this repository from GitHub and open the project folder, do this:\n```\ngit clone https://github.com/InsafMin/library_management_api\ncd library_management_api\n```\n### Applying Database Migrations\nBefore launching the docker container, you need to apply all migrations:\n```\ndocker-compose run backend alembic upgrade head\n```\n### Launch with Docker\nTo work with this section you must have docker and docker-compose tools installed. To run the program, spin up the containers with:\n```\ndocker-compose up\n```\nIf this is the first time bringing up the project, you need to build the images first:\n```\ndocker-compose up --build\n```\n### Web Routes \u0026 Documentation\nAll routes are available on /docs. In your browser, navigate to\n```\nhttp://0.0.0.0:8000/docs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsafmin%2Flibrary_management_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsafmin%2Flibrary_management_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsafmin%2Flibrary_management_api/lists"}