{"id":15576181,"url":"https://github.com/thiagohrcosta/api-digital-library","last_synced_at":"2026-04-16T19:39:02.111Z","repository":{"id":219393964,"uuid":"748894033","full_name":"thiagohrcosta/api-digital-library","owner":"thiagohrcosta","description":"The API Digital Library is a Python-based web application that leverages technologies such as Python 3, SQL Alchemy, Flask, and MySQL to provide a platform for users to manage their book collections. This project serves as a practical exercise in developing a robust API, focusing on fundamental principles and best practices.","archived":false,"fork":false,"pushed_at":"2024-02-03T22:19:59.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T07:27:49.909Z","etag":null,"topics":["api-rest","docker","flask-application","mysql","python3","sql-alchemy"],"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/thiagohrcosta.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-01-27T01:06:47.000Z","updated_at":"2024-01-27T16:04:31.000Z","dependencies_parsed_at":"2024-01-27T06:32:56.133Z","dependency_job_id":"3020fc91-70c9-45b4-9f13-c7764de8cbe6","html_url":"https://github.com/thiagohrcosta/api-digital-library","commit_stats":null,"previous_names":["thiagohrcosta/api-digital-library"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thiagohrcosta/api-digital-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fapi-digital-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fapi-digital-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fapi-digital-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fapi-digital-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagohrcosta","download_url":"https://codeload.github.com/thiagohrcosta/api-digital-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fapi-digital-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322146,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["api-rest","docker","flask-application","mysql","python3","sql-alchemy"],"created_at":"2024-10-02T18:42:02.762Z","updated_at":"2025-10-04T14:13:35.401Z","avatar_url":"https://github.com/thiagohrcosta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![banner](https://res.cloudinary.com/dloadb2bx/image/upload/v1706370132/apilibrary_jm3cox.png)\n# API Digital Library\n\n## Technologies\n![enter image description here](https://camo.githubusercontent.com/0562f16a4ae7e35dae6087bf8b7805fb7e664a9e7e20ae6d163d94e56b94f32d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d3336373041303f7374796c653d666f722d7468652d6261646765266c6f676f3d707974686f6e266c6f676f436f6c6f723d666664643534) ![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge\u0026logo=flask\u0026logoColor=white) ![enter image description here](https://camo.githubusercontent.com/63d721e5f8294c62d26a43f71778ffcccf4b23b83234050aa6ead289c3f0e987/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d2532333030303030662e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6d7973716c266c6f676f436f6c6f723d7768697465) ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge\u0026logo=docker\u0026logoColor=white)\n\n## Overview\n\nThe API Digital Library is a Python-based web application that leverages technologies such as Python 3, SQL Alchemy, Flask, and MySQL to provide a platform for users to manage their book collections. This project serves as a practical exercise in developing a robust API, focusing on fundamental principles and best practices.\n\n## Features\n\n-   **User Authentication:** Users can create accounts, log in, and manage their bookshelves.\n-   **Book Management:** Users can add, view, and remove books from their personal bookshelves.\n-   **Admin Privileges:** Only users with admin access have the authority to create, update, and delete authors and books.\n-   **Database Integration:** The application utilizes SQL Alchemy to interact with a relational database, enhancing data storage and retrieval capabilities.\n-   **Dockerization:** The project is containerized using Docker, facilitating easy deployment and scalability.\n\n## Main Objectives\n\nThe primary objectives of the API Digital Library project are:\n\n1.  **Skill Development:** Gain practical experience in developing APIs using Python and related technologies.\n2.  **Database Interaction:** Learn how to work with a relational database (MySQL) and utilize SQL Alchemy for efficient data management.\n3.  **User Authentication:** Implement user authentication mechanisms to secure account creation and access to specific features.\n4.  **Testing Practices:** Achieve comprehensive test coverage using the Coverage library and Pytest, ensuring the reliability of the application.\n\n## Usage\n\n### Setup\n\n1.  Clone the repository to your local machine:\n    \n    bashCopy code\n    \n    `git clone https://github.com/your-username/api-digital-library.git` \n    \n2.  Navigate to the project directory:\n    \n    bashCopy code\n    \n    `cd api-digital-library` \n    \n3.  Install the required dependencies:\n    \n    bashCopy code\n    \n    `pip install -r requirements.txt` \n    \n\n### Running the Application\n\n1.  Build and run the Docker container:\n    \n    bashCopy code\n    \n    `docker-compose up -d` \n    \n2.  Access the application at http://localhost:5000.\n    \n\n### Testing\n\n1.  Run the test suite:\n    \n    bashCopy code\n    \n    `coverage run -m pytest` \n    \n2.  View the test coverage report:\n    \n    bashCopy code\n    \n    `coverage report` \n    \n\n## Notes\n\n-   Ensure that you have Docker and Python 3 installed on your machine before running the application.\n-   For admin privileges, customize the user roles and access controls in the application code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fapi-digital-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagohrcosta%2Fapi-digital-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fapi-digital-library/lists"}