{"id":21457809,"url":"https://github.com/diego200052/challenge-api","last_synced_at":"2026-04-20T13:02:33.682Z","repository":{"id":263364728,"uuid":"890131349","full_name":"diego200052/Challenge-API","owner":"diego200052","description":"API for registering and tracking company expenses and payments.","archived":false,"fork":false,"pushed_at":"2024-11-18T05:42:09.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T13:33:49.616Z","etag":null,"topics":["fastapi","postgresql","sql","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://api.cubeprohost.com/docs","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/diego200052.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-11-18T03:25:49.000Z","updated_at":"2024-11-18T05:47:08.000Z","dependencies_parsed_at":"2024-11-18T05:21:47.281Z","dependency_job_id":"10cd8e4a-1d8c-48e7-aff4-6e7506fd26f6","html_url":"https://github.com/diego200052/Challenge-API","commit_stats":null,"previous_names":["diego200052/challenge-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diego200052%2FChallenge-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diego200052%2FChallenge-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diego200052%2FChallenge-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diego200052%2FChallenge-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diego200052","download_url":"https://codeload.github.com/diego200052/Challenge-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971193,"owners_count":20376784,"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","postgresql","sql","sqlalchemy"],"created_at":"2024-11-23T06:07:10.427Z","updated_at":"2026-04-20T13:02:33.608Z","avatar_url":"https://github.com/diego200052.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Challenge API\n\nThis project is an API developed with **FastAPI** to manage bank accounts, payments, and expenses. It provides endpoints to create, read, update, and delete information related to these entities.\n\n## Table of Contents\n\n- [Challenge API](#challenge-api)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Requirements](#requirements)\n  - [Installation](#installation)\n  - [Licence](#licence)\n\n## Features\n\n- **Bank Account Management**:\n  - Create accounts.\n  - Check balances.\n  - Update account information.\n  - Delete accounts.\n- **Payment Management**:\n  - Create payments.\n  - Approve, cancel, and execute payments.\n- **Expense Management**:\n  - Register and update expenses.\n  - Generate payments linked to approved expenses.\n\n## Requirements\n\n- Python 3.12 or higher.\n- PostgreSQL.\n- Poetry for dependency management.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/diego200052/Challenge-API\n2. Create and activate a virtual environment:\n   ```bash\n   python3 -m venv env\n   source env/bin/activate\n3. Install dependencies:\n   ```bash\n   pip install poetry\n   poetry install\n4. Run database migrations:\n   ```bash\n   alembic upgrade head\n5. Configure environment variables:\n    ```bash\n    DATABASE_PORT\n    DATABASE_USER\n    DATABASE_PASSWORD\n    DATABASE_NAME\n    DATABASE_HOST\n    DATABASE_HOSTNAME\n    ACTUAL_TIMEZONE\n    CLIENT_ORIGIN\n1. Start the server:\n   ```bash\n   sh run.sh\n## Licence\n\n**Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**\n\nYou are free to:\n- Share — copy and redistribute the material in any medium or format.\n- Adapt — remix, transform, and build upon the material.\n\nUnder the following terms:\n- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.\n- NonCommercial — You may not use the material for commercial purposes.\n\nFull license text: https://creativecommons.org/licenses/by-nc/4.0/legalcode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiego200052%2Fchallenge-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiego200052%2Fchallenge-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiego200052%2Fchallenge-api/lists"}