{"id":51784553,"url":"https://github.com/danielcalebe/vidaflow-api","last_synced_at":"2026-07-20T16:04:28.397Z","repository":{"id":371773155,"uuid":"1238182856","full_name":"danielcalebe/vidaflow-api","owner":"danielcalebe","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-16T20:17:25.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-16T22:17:13.304Z","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/danielcalebe.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-05-13T22:26:05.000Z","updated_at":"2026-07-16T20:17:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/danielcalebe/vidaflow-api","commit_stats":null,"previous_names":["danielcalebe/vidaflow-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/danielcalebe/vidaflow-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielcalebe%2Fvidaflow-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielcalebe%2Fvidaflow-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielcalebe%2Fvidaflow-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielcalebe%2Fvidaflow-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielcalebe","download_url":"https://codeload.github.com/danielcalebe/vidaflow-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielcalebe%2Fvidaflow-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35691542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07-20T16:04:27.658Z","updated_at":"2026-07-20T16:04:28.392Z","avatar_url":"https://github.com/danielcalebe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VidaFlow API\n\nAPI REST construída com Flask + SQLAlchemy para treinamento de desenvolvimento backend, autenticação JWT e integração com aplicações mobile/web.\n\n---\n\n# Tecnologias\n\n- Python 3.12+\n- Flask\n- Flask SQLAlchemy\n- Flask Migrate\n- Flask JWT Extended\n- SQLite\n\n---\n\n# Estrutura do Projeto\n\n```bash\nvidaflow_api/\n│\n├── app/\n│   ├── models/\n│   ├── routes/\n│   ├── services/\n│   ├── utils/\n│   ├── __init__.py\n│   ├── config.py\n│   └── extensions.py\n│\n├── instance/\n│   └── database.db\n│\n├── requirements.txt\n├── run.py\n└── README.md\n```\n\n---\n\n# Requisitos\n\n- Python instalado\n- Pip instalado\n\nVerificar versões:\n\n```bash\npython --version\npip --version\n```\n\n---\n\n# Instalação\n\n## 1. Entrar na pasta do projeto\n\n```bash\ncd vidaflow_api\n```\n\n---\n\n# Instalar Dependências\n\n```bash\npip install -r requirements.txt\n```\n\n---\n\n# Executar API\n\n```bash\npython run.py\n```\n\nServidor:\n\n```txt\nhttp://127.0.0.1:5000\n```\n\n---\n\n# Banco de Dados\n\nO projeto utiliza SQLite.\n\nO banco é criado automaticamente ao iniciar a API.\n\nArquivo:\n\n```txt\ninstance/database.db\n```\n\nCaso queira resetar o banco:\n\n1. Delete:\n\n```txt\ninstance/database.db\n```\n\n2. Rode novamente:\n\n```bash\npython run.py\n```\n\n---\n\n# Rotas Disponíveis\n\n---\n\n## STATUS API\n\n### GET\n\n```http\n/v1/status\n```\n\n### URL completa\n\n```txt\nhttp://127.0.0.1:5000/v1/status\n```\n\n### Resposta\n\n```json\n{\n    \"message\": \"API ONLINE\"\n}\n```\n\n---\n\n# CRIAR USUÁRIO\n\n### POST\n\n```http\n/v1/users\n```\n\n### URL completa\n\n```txt\nhttp://127.0.0.1:5000/v1/users\n```\n\n### Body\n\n```json\n{\n    \"name\": \"Daniel\",\n    \"email\": \"dan@gmail.com\",\n    \"password\": \"123\"\n}\n```\n\n### Resposta\n\n```json\n{\n    \"message\": \"Usuário criado\"\n}\n```\n\n---\n\n# LOGIN\n\n### POST\n\n```http\n/v1/login\n```\n\n### URL completa\n\n```txt\nhttp://127.0.0.1:5000/v1/login\n```\n\n### Body\n\n```json\n{\n    \"email\": \"dan@gmail.com\",\n    \"password\": \"123\"\n}\n```\n\n### Resposta\n\n```json\n{\n    \"access_token\": \"TOKEN_JWT\"\n}\n```\n\n---\n\n# Testes\n\nRecomendado utilizar:\n\n- Postman\n- Insomnia\n\n---\n\n# Possíveis Erros\n\n---\n\n\n## no such table\n\nO banco ainda não foi criado corretamente.\n\nSolução:\n\n1. Feche o servidor\n\n2. Delete:\n\n```txt\ninstance/database.db\n```\n\n3. Rode novamente:\n\n```bash\npython run.py\n```\n\n\n---\n\n# Objetivo do Projeto\n\nEste projeto serve para treinamento de:\n\n- APIs REST\n- SQLAlchemy ORM\n- JWT Authentication\n- Arquitetura Flask\n- Integração Mobile\n- Backend para aplicações React Native\n- WorldSkills Mobile Application Development\n\n---\n\n# Autor\n\nDaniel Calebe\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielcalebe%2Fvidaflow-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielcalebe%2Fvidaflow-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielcalebe%2Fvidaflow-api/lists"}