{"id":35323981,"url":"https://github.com/marviniciuz/flask-restaurant","last_synced_at":"2026-04-06T08:31:35.249Z","repository":{"id":326801258,"uuid":"1103500940","full_name":"marviniciuz/flask-restaurant","owner":"marviniciuz","description":"Mini api de restaurante em flask","archived":false,"fork":false,"pushed_at":"2025-11-30T05:08:09.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-02T09:11:19.737Z","etag":null,"topics":["api","flask","flask-api","flask-application","htmx","materializecss","python","python3","sqlalchemy","sqlite"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/marviniciuz.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":"2025-11-25T00:37:09.000Z","updated_at":"2025-11-30T05:10:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/marviniciuz/flask-restaurant","commit_stats":null,"previous_names":["marviniciuz/flask-restaurant"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/marviniciuz/flask-restaurant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marviniciuz%2Fflask-restaurant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marviniciuz%2Fflask-restaurant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marviniciuz%2Fflask-restaurant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marviniciuz%2Fflask-restaurant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marviniciuz","download_url":"https://codeload.github.com/marviniciuz/flask-restaurant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marviniciuz%2Fflask-restaurant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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","flask","flask-api","flask-application","htmx","materializecss","python","python3","sqlalchemy","sqlite"],"created_at":"2025-12-31T00:58:13.841Z","updated_at":"2026-04-06T08:31:35.237Z","avatar_url":"https://github.com/marviniciuz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍽️ Flask Restaurant control\n\nUm sistema de gestão de restaurantes leve e simples, desenvolvido com **Flask** e **HTMX**.\n\nO objetivo deste projeto é demonstrar como criar aplicações web interativas e responsivas utilizando **Server-Side Rendering (SSR)**, eliminando a complexidade de frameworks JavaScript pesados (como React/Vue) para operações CRUD simples.\n\n![Badge Concluído](http://img.shields.io/static/v1?label=STATUS\u0026message=CONCLUIDO\u0026color=GREEN\u0026style=for-the-badge)\n![Badge Python](https://img.shields.io/badge/Python-3.8%2B-blue?style=for-the-badge\u0026logo=python)\n![Badge Flask](https://img.shields.io/badge/Flask-2.0%2B-lightgrey?style=for-the-badge\u0026logo=flask)\n![Badge HTMX](https://img.shields.io/badge/HTMX-1.9-orange?style=for-the-badge)\n\n\n## 🛠️ Tecnologias Utilizadas no projeto\n\n* **Back-end:** Python, Flask, SQLAlchemy (SQLite).\n* **Front-end:** HTML5, Materialize CSS (Design Responsivo).\n* **Interatividade:** HTMX (Requisições AJAX declarativas direto no HTML).\n* **Testes:** Pytest, Pytest-HTML.\n\n## ✨ Funcionalidades\n\n* ✅ **Cadastro de Restaurantes:** Adição sem recarregar a página.\n* ✅ **Busca em Tempo Real:** Filtragem dinâmica (`debounce`) enquanto digita.\n* ✅ **Exclusão:** Remoção de itens da lista via requisição DELETE.\n* ✅ **Banco de Dados:** Persistência automática em SQLite.\n\n## 🚀 Como Rodar o Projeto\n\n### Pré-requisitos\n* Python 3.x instalado.\n\n### Passo a Passo\n\n1.  **Clone o repositório**\n    ```bash\n    git clone [https://github.com/SEU-USUARIO/NOME-DO-REPO.git](https://github.com/SEU-USUARIO/NOME-DO-REPO.git)\n    cd NOME-DO-REPO\n    ```\n\n2.  **Crie o ambiente virtual**\n    ```bash\n    # Linux/Mac\n    python3 -m venv venv\n    source venv/bin/activate\n\n    # Windows (PowerShell)\n    python -m venv venv\n    .\\venv\\Scripts\\Activate\n    ```\n\n3.  **Instale as dependências**\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4.  **Execute:**\n    ```bash\n    python app.py\n    ```\n    O servidor iniciará em `http://127.0.0.1:5000`.\n\n## Testes \n\nO projeto conta com testes de integração utilizando **Pytest**.\n\nPara rodar os testes simples:\n```bash\npytest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarviniciuz%2Fflask-restaurant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarviniciuz%2Fflask-restaurant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarviniciuz%2Fflask-restaurant/lists"}