{"id":50774483,"url":"https://github.com/earhackerdem/fastapi","last_synced_at":"2026-06-11T22:01:05.936Z","repository":{"id":353879400,"uuid":"1220999296","full_name":"earhackerdem/fastapi","owner":"earhackerdem","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-26T01:27:57.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T03:29:37.248Z","etag":null,"topics":[],"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/earhackerdem.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T16:10:16.000Z","updated_at":"2026-04-26T01:28:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/earhackerdem/fastapi","commit_stats":null,"previous_names":["earhackerdem/fastapi"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/earhackerdem/fastapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earhackerdem%2Ffastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earhackerdem%2Ffastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earhackerdem%2Ffastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earhackerdem%2Ffastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earhackerdem","download_url":"https://codeload.github.com/earhackerdem/fastapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earhackerdem%2Ffastapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34219510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2026-06-11T22:01:05.056Z","updated_at":"2026-06-11T22:01:05.922Z","avatar_url":"https://github.com/earhackerdem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Curso FastAPI Project\n\nAPI construida con FastAPI y SQLModel para gestionar clientes, junto con endpoints de ejemplo para hora por pais, transacciones e invoices.\n\n## Requisitos\n\n- Python 3.10 o superior\n- `pip`\n\n## Setup del proyecto\n\nDesde la raiz del proyecto:\n\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\npip install \"fastapi[standard]==0.136.1\"\n```\n\n## Ejecutar en desarrollo\n\n```bash\nfastapi dev main.py\n```\n\nAlternativa con Uvicorn:\n\n```bash\nuvicorn main:app --reload\n```\n\nCon `just`:\n\n```bash\njust setup\njust up\n```\n\n## Comandos de mantenimiento (Just)\n\n```bash\njust down    # detiene procesos de desarrollo\njust clean   # limpia caches y artefactos locales\njust reset   # ejecuta clean + setup\n```\n\n## Documentacion interactiva\n\nCon la app corriendo:\n\n- Swagger UI: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)\n- ReDoc: [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc)\n\n## Endpoints principales\n\n- `GET /` - mensaje de prueba\n- `GET /time/{iso_code}` - hora por codigo de pais (ej. `CO`, `MX`)\n- `POST /customers` - crear customer\n- `GET /customers` - listar customers\n- `GET /customers/{id}` - obtener customer por id\n- `PATCH /customers/{id}` - actualizar parcialmente un customer\n- `DELETE /customers/{id}` - eliminar customer\n- `POST /transactions` - endpoint de ejemplo\n- `POST /invoices` - endpoint de ejemplo\n\n## Ejemplo rapido (PATCH)\n\n```bash\ncurl -X PATCH \\\n  'http://127.0.0.1:8000/customers/2' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"name\": \"Pablo\"\n}'\n```\n\n## Notas\n\n- Si usas Linux/macOS, activa con `source .venv/bin/activate`.\n- Si usas Windows (PowerShell), activa con `.\\.venv\\Scripts\\Activate.ps1`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearhackerdem%2Ffastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearhackerdem%2Ffastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearhackerdem%2Ffastapi/lists"}