{"id":16222581,"url":"https://github.com/moishinetzer/remix-meetup-2024","last_synced_at":"2025-04-08T01:40:18.887Z","repository":{"id":223710372,"uuid":"760321914","full_name":"moishinetzer/remix-meetup-2024","owner":"moishinetzer","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-02T16:11:25.000Z","size":304,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T20:43:15.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/moishinetzer.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-02-20T07:48:17.000Z","updated_at":"2024-02-21T15:35:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f03a815-8886-40b7-ab5f-5b5a758e8600","html_url":"https://github.com/moishinetzer/remix-meetup-2024","commit_stats":null,"previous_names":["moishinetzer/remix-meetup-2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fremix-meetup-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fremix-meetup-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fremix-meetup-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fremix-meetup-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moishinetzer","download_url":"https://codeload.github.com/moishinetzer/remix-meetup-2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761051,"owners_count":20991533,"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-10-10T12:14:36.139Z","updated_at":"2025-04-08T01:40:18.847Z","avatar_url":"https://github.com/moishinetzer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pokèmon API Documentation\n\n## Overview\n\nThe Pokemon API allows access to a collection of Pokemon data, including retrieval of Pokemon details, listing of Pokemon, and toggling their 'favourite' status.\n\n## Base URL\n\n`http://localhost:3001`\n\n## Endpoints\n\n### 1. List Pokemon\n\n- **URL:** `/pokemon`\n- **Method:** `GET`\n- **Description:** Retrieves a paginated list of Pokemon. Optional `page` query for pagination (3 per page).\n\n### 2. Get Pokemon Details\n\n- **URL:** `/pokemon/:id`\n- **Method:** `GET`\n- **Description:** Fetches details of a specific Pokemon by ID.\n- **URL Parameters:** `id` - ID of the Pokemon.\n\n### 3. Toggle Favourite Status\n\n- **URL:** `/pokemon/:id/favourite`\n- **Method:** `POST`\n- **Description:** Toggles the 'favourite' status of a specified Pokemon.\n- **URL Parameters:** `id` - ID of the Pokemon to toggle.\n\n## Data Model\n\n### `Pokemon`\n\n- `id`: number - Unique identifier.\n- `favourite`: boolean - Favourite status.\n- `name`: string - Name.\n- `image`: string - Image URL.\n- `type`: string - Type.\n- `abilities`: string[] - Abilities.\n- `stats`: Object - Contains `hp`, `attack`, `defense`.\n\n\u003c!-- # Welcome to Remix + Vite\n\n📖 See the [Remix docs](https://remix.run/docs) and the [Remix Vite docs](https://remix.run/docs/en/main/future/vite) for details on supported features.\n\n## Development\n\n```env\nPOKEMON_API_URL=\"http://localhost:3001\"\n```\n\nRun the Vite dev server:\n\n```shellscript\nnpm run dev\n```\n\n## Deployment\n\nFirst, build your app for production:\n\n```sh\nnpm run build\n```\n\nThen run the app in production mode:\n\n```sh\nnpm start\n```\n\nNow you'll need to pick a host to deploy it to.\n\n### DIY\n\nIf you're familiar with deploying Node applications, the built-in Remix app server is production-ready.\n\nMake sure to deploy the output of `npm run build`\n\n- `build/server`\n- `build/client` --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoishinetzer%2Fremix-meetup-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoishinetzer%2Fremix-meetup-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoishinetzer%2Fremix-meetup-2024/lists"}