{"id":18653378,"url":"https://github.com/fullstackacademy/unit4.petfinder.starter","last_synced_at":"2025-04-05T18:09:00.024Z","repository":{"id":188116512,"uuid":"626719529","full_name":"FullstackAcademy/Unit4.PetFinder.Starter","owner":"FullstackAcademy","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-14T13:29:09.000Z","size":84,"stargazers_count":1,"open_issues_count":6,"forks_count":380,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-03-29T16:11:09.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/FullstackAcademy.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":"2023-04-12T03:01:34.000Z","updated_at":"2023-08-30T04:13:55.000Z","dependencies_parsed_at":"2023-08-13T20:44:28.654Z","dependency_job_id":"6a26fbb2-1c76-40ea-b4ea-01f0e8ea9319","html_url":"https://github.com/FullstackAcademy/Unit4.PetFinder.Starter","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":"0.33333333333333337","last_synced_commit":"7094a9b37d552c244d6d31743730989f51c1e373"},"previous_names":["fullstackacademy/unit4.petfinder.starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FullstackAcademy%2FUnit4.PetFinder.Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FullstackAcademy%2FUnit4.PetFinder.Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FullstackAcademy%2FUnit4.PetFinder.Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FullstackAcademy%2FUnit4.PetFinder.Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FullstackAcademy","download_url":"https://codeload.github.com/FullstackAcademy/Unit4.PetFinder.Starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-07T07:11:24.550Z","updated_at":"2025-04-05T18:09:00.000Z","avatar_url":"https://github.com/FullstackAcademy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workshop: Backend Fundamentals - Pet Finder\n\n## Introduction\n\nIn this workshop, you'll be provided this GitHub repo with details for a full operational CRUD API that uses Express.JS, PostgreSQL, and other technologies that you've been trained on.\n\n## Problems to Solve\n\nBegin this Career Simulation by cloning the GitHub repo, pseudocoding prompts, installing dependencies and solving the problems below.\n\n### Problem 1: GET all pets\n\nThe GET route for all pets is currently \"under construction\". Navigate to `index.js` and find the GET method at `/api/v1/pets` and write the code to get all pets from the database.\n\n### Problem 2: GET pets by name\n\nThe GET route for pets by name is currently \"under construction\". Navigate to `index.js` and find the GET method at `/api/v1/pets/:name` and write the code to get a pet by name from the database.\n\n### Problem 3: GET pet by owner's name with a query string\n\nThe GET route for pets by owner's name is currently \"under construction\". Navigate to `index.js` and find the GET method at `/api/v1/pets/owner` and write the code to get a pet by owner's name from the database.\n\n### STRETCH GOAL: Problem 4: Serve a static index.html file\n\nThe GET route for serving a static index.html file is currently \"under construction\". Navigate to `index.js` and find the GET method at `/` and write the code to serve a static index.html file.\n\n### Endpoints\n\nPort 8080 by default.\n\n| Method | Endpoint           | Description                    |\n| ------ | ------------------ | ------------------------------ |\n| GET    | /                  | Serve a static index.html file |\n| GET    | /api               | Returns 'Hello World!'         |\n| GET    | /api/v1/pets       | Get all pets                   |\n| GET    | /api/v1/pets/:name | Get a pet by name              |\n| GET    | /api/v1/pets/owner | Get a pet by owner's name      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstackacademy%2Funit4.petfinder.starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffullstackacademy%2Funit4.petfinder.starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstackacademy%2Funit4.petfinder.starter/lists"}