{"id":19255384,"url":"https://github.com/codedcontainer/pokemongopokedex","last_synced_at":"2026-05-31T16:31:20.173Z","repository":{"id":39113718,"uuid":"265884075","full_name":"codedcontainer/pokemonGoPokedex","owner":"codedcontainer","description":"Web app that sorts and manages Pokémon by the distance requirements needed for candy collection. ","archived":false,"fork":false,"pushed_at":"2023-01-06T06:48:27.000Z","size":3302,"stargazers_count":0,"open_issues_count":31,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T17:29:43.146Z","etag":null,"topics":["pokemon-game","pokemon-go","pokemongo","pokemons"],"latest_commit_sha":null,"homepage":"","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/codedcontainer.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}},"created_at":"2020-05-21T15:27:48.000Z","updated_at":"2020-06-04T20:48:34.000Z","dependencies_parsed_at":"2023-02-05T13:47:08.660Z","dependency_job_id":null,"html_url":"https://github.com/codedcontainer/pokemonGoPokedex","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/codedcontainer/pokemonGoPokedex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedcontainer%2FpokemonGoPokedex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedcontainer%2FpokemonGoPokedex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedcontainer%2FpokemonGoPokedex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedcontainer%2FpokemonGoPokedex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codedcontainer","download_url":"https://codeload.github.com/codedcontainer/pokemonGoPokedex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedcontainer%2FpokemonGoPokedex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33739860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["pokemon-game","pokemon-go","pokemongo","pokemons"],"created_at":"2024-11-09T18:40:58.540Z","updated_at":"2026-05-31T16:31:20.154Z","avatar_url":"https://github.com/codedcontainer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pokémon Go Pokédex Web Application #\n![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/jdmagic21/pokemonGoPokedex?label=Release)\n[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)\n[![Twitter Follow](https://img.shields.io/twitter/follow/codedcontainer?style=social)](https://www.twitter.com/codedcontainer)\n\n## Background\nPokémon Go is different than the original GameBoy games in that in order to evolve a Pokémon you have to collect enough candies. The number of candies needed vary between each Pokémon. When you catch a Pokémon you are awarded a collection of candies and when you transfer or essentially delete a Pokémon from your bag you are also awarded a single candy. The other way a trainer can receive candy is by walking with a Pokémon. The app will track by GPS the number of KM's you walk even when the app is not running. The distance requirement can very from 2KM to 20KM per candy.\n\n## Motivation\nTo create a user friendly application that allows a trainer to see which Pokémon they should walk with next sorted by the number of miles required in which case they can quickly fill up their Pokédex.\n\n## Screenshots\n![Mobile Login View](https://i.imgur.com/HY6O7Rz.jpg) ![Mobile Index View](https://i.imgur.com/JcPkFun.jpg) ![Mobile View Update View](https://i.imgur.com/vhjVJUK.jpg)\n\n## Installation/Setup Instructions\nThis app was originally built for use with the Mongo Atlas database service and hosting through Heroku. The app will either look for a settings.json file or use your servers [environment variables](https://bit.ly/2TBYXJa). Below is general outline of first steps for integration with your own database and hosting service.\n\n1. `yarn install`: Install all necessary dependencies\n2. Create a settings.json file replacing the below sample dummy data\n    - \u003cb\u003eKeep this file hidden using the .gitignore file\u003c/b\u003e\n```Json\n{\n    \"connectionString\": \"url (atlas or ip address)\", \n    \"username\": \"username\",\n    \"password\": \"password\",\n    \"collection\": \"mongo db collection name\",\n    \"secret\": \"random secret string\"\n}\n```\n3. Copy the above object properties name strings and create configuration variables.\n4. Run seed data scrips in the below sequence\u003cbr/\u003e\n    a. `node /SeedData/index.js --sd` \u003cbr/\u003e\n    b. `node /SeedData/index.js --se` \u003cbr/\u003e\n\n### Mongo Atlas \u0026 Heroku ###\n1. Sign up for an account and create a new cluster\u003cbr/\u003e\n    a. Click on connect and follow the \"Connect your application\" steps \n2. Create a new account with Heroku and create a new application. Under Settings match your config vars with your settings.json file\u003c/br\u003e\n    a. Follow the deployment steps found under the \"Deploy\" tab\n\n## Workflow\nReference \"Script Definitions\" section were needed.\n1. Run express server and development instance of React app. \n2. Make any needed changes\n3. Stop express server and dev processes\n4. Run `heroku local` if using Heroku to test before pushing\n5. Build the react app\n6. Push to your server\n\n## Script Definitions\n- `node /server/index.js`: Runs Express API script\n- `yarn start`: Run app from the /build folder, but `yarn build` needs to be ran first\n- `yarn build`: Builds the app for production to the `build` folder\n- `yarn reactStart`:  Runs the app in the development mode independent of Express\n- `yarn test`: Launches the test runner in the interactive watch mode.\n- `heroku local`: Heroku local server instance to test before pushing to server\n- `node SeedData/index.js -h`:Seed data to your database\n    - `node /SeedData/index.js --sd`: Add all Pokémon and distances\n    - `node /SeedData/index.js --se`: Add all Pokémon evolution requirements.\n\n## Learning Objectives ##\n- Setup basic authentication using [Express Basic Auth](https://bit.ly/2ZxNhLh)\n- Add third party Jquery plugins to a React app\n    - [Integration other libraries](https://bit.ly/2ZvULyB)\n    - [ Integration DataTables](https://www.youtube.com/watch?v=ZCKj0SJRTB8)\n\n## Other Reading ##\n### Node Specific ###\n- [Base64 encoding with buffer](https://bit.ly/2TKgqPS)\n### Authentication \u0026 Authorization\n- [JWT with Node.js](https://medium.com/better-programming/authentication-and-authorization-using-jwt-with-node-js-4099b2e6ca1f)\n### Create React App\n- [Running tests](https://bit.ly/2TzoB1c)\n- [Deployment](https://bit.ly/2LUm90X)\n### DataTables ###\n- [Unknown parameter '0' from data source](https://bit.ly/2XsNI71)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedcontainer%2Fpokemongopokedex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedcontainer%2Fpokemongopokedex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedcontainer%2Fpokemongopokedex/lists"}