{"id":28456789,"url":"https://github.com/nathanfreire/petnaleste","last_synced_at":"2026-01-31T15:33:05.951Z","repository":{"id":297679610,"uuid":"997545583","full_name":"nathanfreire/PetNaLeste","owner":"nathanfreire","description":"PetNaLeste é um site com o intuito de ajudar a encontrar animais perdidos pela sua vizinhança","archived":false,"fork":false,"pushed_at":"2025-08-04T20:23:07.000Z","size":57058,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T20:34:15.608Z","etag":null,"topics":["css3","html5","javascript","mysql2","typescript"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanfreire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-06-06T18:00:53.000Z","updated_at":"2025-08-04T20:23:10.000Z","dependencies_parsed_at":"2025-06-23T19:27:14.106Z","dependency_job_id":"859c19a2-22de-466e-8555-bc4aec25ca3d","html_url":"https://github.com/nathanfreire/PetNaLeste","commit_stats":null,"previous_names":["nathanfreire/petnaleste"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nathanfreire/PetNaLeste","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanfreire%2FPetNaLeste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanfreire%2FPetNaLeste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanfreire%2FPetNaLeste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanfreire%2FPetNaLeste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanfreire","download_url":"https://codeload.github.com/nathanfreire/PetNaLeste/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanfreire%2FPetNaLeste/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["css3","html5","javascript","mysql2","typescript"],"created_at":"2025-06-06T23:08:49.772Z","updated_at":"2026-01-31T15:33:05.946Z","avatar_url":"https://github.com/nathanfreire.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐶 PetNaLeste - Projeto Integrador (SENAC)\nPetNaLeste é um projeto social que tem como objetivo ajudar tutores da Zona Leste de São Paulo a reencontrarem seus animais de estimação perdidos. Por meio de uma plataforma acessível e colaborativa, o projeto conecta pessoas que perderam seus pets com aquelas que encontraram animais vagando pelas ruas ou abrigos da região.\n\nO PetNaLeste promove a conscientização sobre a importância da identificação animal e cuidados com os pets, fortalecendo a rede de apoio entre moradores e protetores da causa animal.\n\n---\n\n## Objetivo do Projeto:\n\n- Facilitar o reencontro entre tutores e animais de estimação perdidos na Zona Leste de São Paulo, por meio de uma plataforma digital colaborativa que conecta pessoas da comunidade.\n- Promover a conscientização sobre a importância da identificação e cuidados com os pets, fortalecendo uma rede solidária entre moradores, protetores independentes e abrigos da região.\n\n---\n\n## Público Alvo:\n\n- Tutores de animais de estimação que residem na Zona Leste de São Paulo e que estejam enfrentando a perda de seus pets.\n- Moradores da região, protetores de animais, ONGs e pessoas que encontraram animais perdidos e desejam ajudar a promover o reencontro com seus donos.\n\n---\n\n## 🚀 Tecnologias Utilizadas:\n(Norma SOLID)\n- HTML 5\n- CSS 3\n- JavaScript\n- Bootstrap\n- TypeScript\n- Node.js\n- MySQL\n\n---\n\n## Configuração:\n\n1. Instale as dependências com:\n\n```bash \nnpm install\n```\n\n2. Configure as variáveis de ambiente no arquivo .env, como:\n\n```sql\nDB_HOST=localhost\nDB_USER=root\nDB_PASSWORD=sua_senha\nDB_NAME=dbpethouse\nJWT_SECRET=sua_chave_secreta\n```\n\n3. Inicie o servidor com:\n\n```bash \nnode index.js\n```\n\n---\n\n## Banco de Dados PetNaLeste\n\n### Tabela Usuario:\n\n```sql\nCREATE TABLE `Usuario` (\n    `id_usuario` INT(11) NOT NULL,\n    `nome_usuario` VARCHAR(50) NOT NULL,\n    `senha` VARCHAR(30) NOT NULL,\n    `foto_usuario` VARCHAR(500) DEFAULT NULL,\n    `id_contato` INT NOT NULL,\n    `id_endereco` INT NOT NULL,\n    `id_redes` INT DEFAULT NULL\n);\n```\n\n### Tabela Animal:\n\n```sql\nCREATE TABLE `Animal` (\n    `id_animal` INT(11) NOT NULL,\n    `id_usuario` INT NOT NULL,\n    `id_endereco` INT NOT NULL,\n    `tipo_animal` VARCHAR(50) NOT NULL,\n    `raca` VARCHAR(30) DEFAULT NULL,\n    `cor` VARCHAR(20) DEFAULT NULL,\n    `porte` VARCHAR(20) DEFAULT NULL,\n    `sexo` VARCHAR(20) DEFAULT NULL,\n    `data_encontrado` DATE NOT NULL,\n    `data_perdido` DATE,\n    `foto_animal` VARCHAR(500) DEFAULT NULL,\n    `status` VARCHAR(70) NOT NULL,\n    `descricao` VARCHAR(500) DEFAULT NULL\n);\n```\n\n### Tabela Contato:\n\n```sql\nCREATE TABLE `Contato` (\n    `id_contato` INT(11) NOT NULL,\n    `id_redes` INT NOT NULL,\n    `telefone_residencial` VARCHAR(15) DEFAULT NULL,\n    `telefone_celular` VARCHAR(15) DEFAULT NULL,\n    `email` VARCHAR(100) DEFAULT NULL\n);\n```\n\n### Tabela Endereço:\n\n```sql\nCREATE TABLE `Endereco` (\n    `id_endereco` INT(11) NOT NULL,\n    `tipo_logradouro` ENUM('RUA','AVENIDA','ALAMEDA','TRAVESSA','VIELA','ESTRADA','RODOVIA') NOT NULL,\n    `logradouro` VARCHAR(50) NOT NULL,\n    `numero` VARCHAR(5) NOT NULL,\n    `complemento` VARCHAR(255) DEFAULT NULL,\n    `cep` VARCHAR(10) NOT NULL,\n    `bairro` VARCHAR(30) NOT NULL\n);\n```\n\n### Tabela Redes Sociais:\n\n```sql \nCREATE TABLE `RedeSociais` (\n    `id_redes` INT(11) NOT NULL,\n    `tipo_redes` VARCHAR(30) NOT NULL,\n    `identificador` VARCHAR(100) NOT NULL\n);\n```\n\n## CHAVES PRIMÁRIAS E ÍNDICES\n\n```sql\nALTER TABLE `Usuario`\n  ADD PRIMARY KEY AUTO_INCREMENT (`id_usuario`),\n  ADD UNIQUE KEY\n```\n\n```sql\nALTER TABLE `Animal`\n  ADD PRIMARY KEY AUTO_INCREMENT (`id_animal`),\n```\n\n```sql\nALTER TABLE `Contato`\n  ADD PRIMARY KEY AUTO_INCREMENT (`id_contato`),\n```\n\n```sql\nALTER TABLE `Endereco`\n  ADD PRIMARY KEY AUTO_INCREMENT (`id_endereco`),\n```\n\n```sql\nALTER TABLE `RedeSociais`\n  ADD PRIMARY KEY AUTO_INCREMENT (`id_redes`),\n```\n\n## CHAVES ESTRANGEIRAS (FOREIGN KEYS)\n\n```sql\nALTER TABLE `Usuario`\n    FOREIGN KEY (id_contato) REFERENCES Contato(id_contato),\n    FOREIGN KEY (id_endereco) REFERENCES Endereco(id_endereco),\n    FOREIGN KEY (id_redes) REFERENCES RedeSociais(id_redes)\n```\n\n```sql\nALTER TABLE `Animal`\n    FOREIGN KEY (id_usuario) REFERENCES Usuario(id_usuario),\n    FOREIGN KEY (id_endereco) REFERENCES Endereco(id_endereco)\n```\n\n---\n\n## Seções \n\n- Home\n- Perdi um Pet\n- Achei um Pet\n- Login\n- Encontre seu Pet\n- Fale Conosco\n- Contato\n\n---\n\n### \"Diagrama do Banco de dados\"\n![](Front-and/img/Diagrama-Banco.png)\n### \"Home do site\"\n![](Front-and/img/img_home.png)\n### \"Encontre seu Pet\"\n![](Front-and/img/img_encont.png)\n### \"Todos os Pets\"\n![](Front-and/img/img_todos_pets.png)\n### \"Detalhe do Pet\"\n![](Front-and/img/img_detalhes_pet.png)\n### \"Login\"\n![](Front-and/img/img_login.png)\n### \"Perfil-1\"\n![](Front-and/img/img_perfil1.png)\n### \"Perfil-2\"\n![](Front-and/img/img_perfil2.png)\n### \"Ajuda\"\n![](Front-and/img/img_ajuda.png)\n\n![GitHub License](https://img.shields.io/github/license/nathanfreire/PetNaLeste)\n\n## Colaboradores\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://www.linkedin.com/in/carlosabcj/\" target=\"_blank\"\u003e\n        \u003cimg src=\"Front-and/img/foto1git.jpg\" width=\"100px;\" alt=\"Carlos Antonio\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003eCarlos Antonio\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://www.linkedin.com/in/gabriel-lima-a078182b3/\" target=\"_blank\"\u003e\n        \u003cimg src=\"Front-and/img/foto2git.jpg\" width=\"100px;\" alt=\"Gabriel Lima\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003eGabriel Lima\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://www.linkedin.com/in/lucas-henrique-0148422b2/\" target=\"_blank\"\u003e\n        \u003cimg src=\"Front-and/img/foto3git.jpg\" width=\"100px;\" alt=\"Lucas Henrique\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003eLucas Henrique\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://www.linkedin.com/in/nathan-furukawa/\" target=\"_blank\"\u003e\n        \u003cimg src=\"Front-and/img/foto4git.jpg\" width=\"100px;\" alt=\"Nathan Freire\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\u003cb\u003eNathan Freire\u003c/b\u003e\u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n---\n\n## Status do Projeto\n\n- Sendo Finalizado.\n\n  ---\n\n  ### \"Imagem do Grupo\"\n![](Front-and/img/img_grupo.jpg)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanfreire%2Fpetnaleste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanfreire%2Fpetnaleste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanfreire%2Fpetnaleste/lists"}