{"id":15050528,"url":"https://github.com/guilherme006/lawofficeapi","last_synced_at":"2026-02-18T19:01:58.753Z","repository":{"id":257173359,"uuid":"857522940","full_name":"Guilherme006/LawOfficeAPI","owner":"Guilherme006","description":"Este projeto apresenta a LawOfficeAPI, uma API RESTful desenvolvida para gerenciar as operações de um escritório de advocacia. A API foi construída utilizando Python, SQLAlchemy e SQLite.","archived":false,"fork":false,"pushed_at":"2024-09-17T00:30:48.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T22:48:58.892Z","etag":null,"topics":["pytest","python","requests","sqlalchemy","sqlite","uuid"],"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/Guilherme006.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-09-14T21:41:53.000Z","updated_at":"2024-09-17T00:30:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1289641-caec-48a9-bad1-624e16699e8b","html_url":"https://github.com/Guilherme006/LawOfficeAPI","commit_stats":null,"previous_names":["guilherme006/lawofficeapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guilherme006/LawOfficeAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilherme006%2FLawOfficeAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilherme006%2FLawOfficeAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilherme006%2FLawOfficeAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilherme006%2FLawOfficeAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guilherme006","download_url":"https://codeload.github.com/Guilherme006/LawOfficeAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilherme006%2FLawOfficeAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29590684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"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":["pytest","python","requests","sqlalchemy","sqlite","uuid"],"created_at":"2024-09-24T21:27:11.940Z","updated_at":"2026-02-18T19:01:58.729Z","avatar_url":"https://github.com/Guilherme006.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TDE01 - Arquitetura de Banco de Dados\n\nEsse projeto se trata de um trabalho para a disciplina de arquitetura de banco de dados do curso de Ciência da Computação. \n\nEste projeto apresenta a **LawOfficeAPI**, uma API RESTful desenvolvida para gerenciar as operações de um escritório de advocacia. A API foi construída utilizando Python como linguagem de programação, SQLAlchemy para mapeamento objeto-relacional (ORM) e SQLite como sistema de gerenciamento de banco de dados. \n\nO projeto abrange a criação, leitura, atualização e deleção (CRUD) de entidades fundamentais como Clientes, Advogados, Casos e Documentos. Além disso, testes automatizados foram implementados utilizando **pytest** e **requests** para garantir a robustez e a confiabilidade das funcionalidades desenvolvidas. \n\n### Construido com\n\n![visual-studio-code]\n![python]\n![SQLite Badge]\n![SQLAlchemy Badge]\n![Pytest Badge]\n\n### Ferramentas\n\n- **Uuid:** Gera identificadores únicos para garantir que cada e-mail e nome sejam únicos, evitando conflitos de unicidade.\n- **SQLAlchemy:** Para mapeamento objeto-relacional e interação com o banco de dados.\n- **Pytest:** Para a execução de testes automatizados.\n- **Requests:** Para realizar requisições HTTP durante os testes.\n\n### Configuração\n\nPara configurar e executar a LawOfficeAPI, siga os passos abaixo:\n\n1. Clone o repositório do projeto para sua máquina local:\n\n   ```sh\n   git clone https://github.com/Guilherme006/LawOfficeAPI.git\n   ```\n\n2. Instale as dependências:\n\n   ```sh\n   pip install -r requeriments.txt\n   ```\n\n3. Execute o servidor e aproveite os testes.\n\n\n\u003c!-- Badges --\u003e\n[visual-studio-code]: https://img.shields.io/badge/Visual%20Studio%20Code-007ACC?logo=visualstudiocode\u0026logoColor=fff\u0026style=for-the-badge\n[python]: https://img.shields.io/badge/Python-3776AB?logo=python\u0026logoColor=fff\u0026style=for-the-badge\n[SQLite Badge]: https://img.shields.io/badge/SQLite-003B57?logo=sqlite\u0026logoColor=fff\u0026style=for-the-badge\n[SQLAlchemy Badge]: https://img.shields.io/badge/SQLAlchemy-D71F00?logo=sqlalchemy\u0026logoColor=fff\u0026style=for-the-badge\n[Pytest Badge]: https://img.shields.io/badge/Pytest-0A9EDC?logo=pytest\u0026logoColor=fff\u0026style=for-the-badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilherme006%2Flawofficeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilherme006%2Flawofficeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilherme006%2Flawofficeapi/lists"}