{"id":25027920,"url":"https://github.com/bjfikky/bookloaner_api","last_synced_at":"2026-05-01T12:33:09.299Z","repository":{"id":121488100,"uuid":"151733013","full_name":"bjfikky/BookLoaner_API","owner":"bjfikky","description":"An API built with Python's Flask framework, to be consumed by a frontend built in VueJS","archived":false,"fork":false,"pushed_at":"2018-10-23T00:16:32.000Z","size":7625,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T16:51:22.540Z","etag":null,"topics":["flask","flask-api","flask-restful","mysql","peewee-orm","python3"],"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/bjfikky.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":"2018-10-05T14:28:44.000Z","updated_at":"2018-10-23T00:16:34.000Z","dependencies_parsed_at":"2024-04-18T19:16:42.619Z","dependency_job_id":null,"html_url":"https://github.com/bjfikky/BookLoaner_API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bjfikky/BookLoaner_API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjfikky%2FBookLoaner_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjfikky%2FBookLoaner_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjfikky%2FBookLoaner_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjfikky%2FBookLoaner_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjfikky","download_url":"https://codeload.github.com/bjfikky/BookLoaner_API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjfikky%2FBookLoaner_API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flask","flask-api","flask-restful","mysql","peewee-orm","python3"],"created_at":"2025-02-05T19:55:47.370Z","updated_at":"2026-05-01T12:33:09.273Z","avatar_url":"https://github.com/bjfikky.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About BookLoaner_API\nThis API provides the resources for a single page application used by a 5th grade teacher. The app helps the teacher manage book loans in her classroom.\n\nFront-end built with **VueJS**. See [Github](https://github.com/bjfikky/BookLoaner_Vue)\n\n## Tools\n\n - Python \n - Flask\n - Flask_restful\n - Peewee\n - MySQL\n\n## Use Cases\n#### Teacher\n 1. Login with email and password\n 2. Add student name and 4 digit passcode\n 3. Edit student name and passcode\n 4. Delete a student\n 5. View list of students\n 6. Add a book \n 7. Edit a book\n 8. Delete a book\n 9. View all books \n 10. See student's loan history\n 11. See which student loaned a book\n 12. See unavailable books \n 13. See available books\n 14. Make a book available *(perform a student's return operation)*\n 15.  Logout \n\n#### Student\n1. Loan a book using pass-code\n2. Return a book using pass-code\n3. View list of all books\n4. View list of available books\n5. View list of unavailable books\n\n## Database Models\n\n1. User\n    - username\n    - email\n    - password\n2. Student\n    - fullname\n    - passcode\n3. Book\n    - title\n    - author\n    - edition\n    - genre\n4. Loan\n    - student\n    - book\n    - loan_date\n    - return_date\n    \n## Sample Response\n\n![Sample Response](https://github.com/bjfikky/BookLoaner_API/blob/master/sample_request.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjfikky%2Fbookloaner_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjfikky%2Fbookloaner_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjfikky%2Fbookloaner_api/lists"}