{"id":25006801,"url":"https://github.com/asifrahaman13/library-management","last_synced_at":"2025-03-30T00:16:52.740Z","repository":{"id":230024624,"uuid":"778129654","full_name":"asifrahaman13/library-management","owner":"asifrahaman13","description":"A simple library management system using the Fast API, SQLModel. Utilized simple sqlite database.","archived":false,"fork":false,"pushed_at":"2024-03-28T01:50:23.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T01:51:39.450Z","etag":null,"topics":["python","sql","sqlite3"],"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/asifrahaman13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-03-27T06:10:22.000Z","updated_at":"2024-06-27T18:38:29.000Z","dependencies_parsed_at":"2024-03-27T13:03:46.763Z","dependency_job_id":null,"html_url":"https://github.com/asifrahaman13/library-management","commit_stats":null,"previous_names":["asifrahaman13/library-management"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifrahaman13%2Flibrary-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifrahaman13%2Flibrary-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifrahaman13%2Flibrary-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifrahaman13%2Flibrary-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asifrahaman13","download_url":"https://codeload.github.com/asifrahaman13/library-management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258865,"owners_count":20748573,"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":["python","sql","sqlite3"],"created_at":"2025-02-05T01:51:42.231Z","updated_at":"2025-03-30T00:16:52.709Z","avatar_url":"https://github.com/asifrahaman13.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library management system\n\n## How to run the code\n\nFirst clone the repository.\n\n```bash\ngit clone https://github.com/asifrahaman13/library-management.git\n```\n\n## Backend\nOpen the backend in a terminal.\n\n```bash\ncd backend/\n```\n\nCreate virtual environment and install the dependencies.\n\n```bash\nvirtualenv .venv\n```\n\nActivate the virtual environment\n\n```bash\nsource .venv/bin/activate\n```\n\nInstall dependencies.\n\n```bash\npip install -r requirements.txt\n```\n\nNow change the .env.example to .env file enter the required data in the .env file.\n```bash\nmv .env.example .env\n```\n\nRun the backend in port 8000\n\n```bash\nuvicorn src.main:app --reload\n```\n# Want to run in docker?\nIn case you are facing any issue and want to run the application using docker.\n\nFirst build the image\n\n```bash\ndocker -t build backend:latest .\n```\n\nNext you can simply run the application.\n\n```bash \ndocker run -d -p  8000:8000 backend:latest\n```\n\n\n# Link to the documentation for the APIs:\n\nhttps://docs.google.com/document/d/12-ozqYCtt2LpQUaTKo49m8-zx0tKBzRB5VM0c-0-TqY/edit?usp=sharing\n\n\n# Testing\n\nSimple Pytest scripts are written for sample unit and integration testing. Follows the official fast api documentation:\nhttps://fastapi.tiangolo.com/tutorial/testing/\n\nTo test the application use the following script: \n\n```bash\npython3 -m pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifrahaman13%2Flibrary-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasifrahaman13%2Flibrary-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifrahaman13%2Flibrary-management/lists"}