{"id":25386172,"url":"https://github.com/leoobarbosa2/node-find-a-pet","last_synced_at":"2026-05-04T08:36:52.191Z","repository":{"id":277074071,"uuid":"931172434","full_name":"leoobarbosa2/node-find-a-pet","owner":"leoobarbosa2","description":"Node API to handle with Pet's Adoption through Ongs.","archived":false,"fork":false,"pushed_at":"2025-02-16T14:29:48.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T18:35:24.353Z","etag":null,"topics":["fastify","nodejs","prisma-orm","typescript","vitest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/leoobarbosa2.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}},"created_at":"2025-02-11T20:44:21.000Z","updated_at":"2025-02-16T14:29:51.000Z","dependencies_parsed_at":"2025-02-12T01:39:05.975Z","dependency_job_id":"81a25a5e-dbe7-47ed-8df4-36fa0e4b6d7e","html_url":"https://github.com/leoobarbosa2/node-find-a-pet","commit_stats":null,"previous_names":["leoobarbosa2/node-find-a-pet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leoobarbosa2/node-find-a-pet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoobarbosa2%2Fnode-find-a-pet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoobarbosa2%2Fnode-find-a-pet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoobarbosa2%2Fnode-find-a-pet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoobarbosa2%2Fnode-find-a-pet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leoobarbosa2","download_url":"https://codeload.github.com/leoobarbosa2/node-find-a-pet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoobarbosa2%2Fnode-find-a-pet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32600965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["fastify","nodejs","prisma-orm","typescript","vitest"],"created_at":"2025-02-15T10:21:27.088Z","updated_at":"2026-05-04T08:36:52.165Z","avatar_url":"https://github.com/leoobarbosa2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find a pet API 🐶🐱\n\nAs an ONG, register pets available to be adopted. As users, search for pets to adopt by city or pet details.\n\n## How to run it?\n\n1. Configure your `.env` using `.env.example`\n2. Install all dependencies\n\n```\nnpm install\n```\n\n3. Make sure to run docker compose file to get your database running.\n\n```\ndocker compose up\n```\n\n\n4. Run in development mode or start mode\n```\nDEV: npm run dev\nPROD: npm run start\n```\n\n![image](https://github.com/user-attachments/assets/e993ed79-5441-43f1-8e84-43590efcca52)\n\n### Application Rules (Regras da aplicação)\n\nEN\n\n- [x] It must be possible to register a pet.\n- [x] It must be possible to list all available pets for adoption in a city.\n- [x] It must be possible to filter pets by their characteristics.\n- [x] It must be possible to view details of a pet for adoption.\n- [x] It must be possible to register as an organization (ORG).\n- [x] It must be possible to log in as an ORG.\n\n### Business Rules\n\n- [x] To list pets, the city must be provided.\n- [x] An ORG must have an address and a WhatsApp number.\n- [x] A pet must be linked to an ORG.\n- [x] The user who wants to adopt will contact the ORG via WhatsApp.\n- [x] All filters, besides the city, are optional.\n- [x] For an ORG to access the application as an admin, it must be logged in.\n\nPT-BR\n\n- [x] Deve ser possível cadastrar um pet\n- [x] Deve ser possível listar todos os pets disponíveis para adoção em uma cidade\n- [x] Deve ser possível filtrar pets por suas características\n- [x] Deve ser possível visualizar detalhes de um pet para adoção\n- [x] Deve ser possível se cadastrar como uma ORG\n- [x] Deve ser possível realizar login como uma ORG\n\n### Regras de negócio\n\n- [x] Para listar os pets, obrigatoriamente precisamos informar a cidade\n- [x] Uma ORG precisa ter um endereço e um número de WhatsApp\n- [x] Um pet deve estar ligado a uma ORG\n- [x] O usuário que quer adotar, entrará em contato com a ORG via WhatsApp\n- [x] Todos os filtros, além da cidade, são opcionais\n- [x] Para uma ORG acessar a aplicação como admin, ela precisa estar logada\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoobarbosa2%2Fnode-find-a-pet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoobarbosa2%2Fnode-find-a-pet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoobarbosa2%2Fnode-find-a-pet/lists"}