{"id":22004748,"url":"https://github.com/leodhb/poketrader","last_synced_at":"2026-04-04T16:32:55.884Z","repository":{"id":170486464,"uuid":"377925870","full_name":"leodhb/poketrader","owner":"leodhb","description":"Simple Pokémon trade calculator. Made as empoyment test for bxblue","archived":false,"fork":false,"pushed_at":"2021-06-21T17:04:54.000Z","size":1626,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T06:27:31.360Z","etag":null,"topics":["composer","mvc-framework","php","phpunit","pokedex","pokemon"],"latest_commit_sha":null,"homepage":"https://poketrader-leod.herokuapp.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leodhb.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}},"created_at":"2021-06-17T18:26:46.000Z","updated_at":"2021-06-21T17:04:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a098ea8-73fa-41c5-8cae-7f31853dbc10","html_url":"https://github.com/leodhb/poketrader","commit_stats":null,"previous_names":["leodhb/poketrader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/leodhb/poketrader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodhb%2Fpoketrader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodhb%2Fpoketrader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodhb%2Fpoketrader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodhb%2Fpoketrader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leodhb","download_url":"https://codeload.github.com/leodhb/poketrader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodhb%2Fpoketrader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31405704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["composer","mvc-framework","php","phpunit","pokedex","pokemon"],"created_at":"2024-11-30T00:17:01.787Z","updated_at":"2026-04-04T16:32:55.873Z","avatar_url":"https://github.com/leodhb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg align=\"middle\" width=\"400\" src=\"https://poketrader-leod.herokuapp.com/img/poketrader-logo.png\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003ePokéTrader - A Simple Pokémon trade calculator\u003c/h1\u003e\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n![Heroku](https://heroku-badge.herokuapp.com/?app=poketrader-leod)\n\nDeploy [here](https://poketrader-leod.herokuapp.com/)\n\n\n## About the project\nPokeTrader is a technical test made for the \u003cb\u003eBxBlue Selective Process\u003c/b\u003e. BxBlue is a brazilian startup that works with payroll loans.\n\n## Running it locally\n1. Create a MySQL database and change the connection data in [Database.php](https://github.com/leodhb/poketrader/blob/main/app/Libraries/Database.php)\n2. Run the MySQL query below\n~~~~sql\nCREATE TABLE `trades` (\n  `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,\n  `player_1` varchar(45) NOT NULL,\n  `player_2` varchar(45) NOT NULL,\n  `trade_data` text COLLATE utf8mb4_unicode_ci NOT NULL,\n  `created_at` datetime NOT NULL DEFAULT current_timestamp()\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n~~~~\n3. Clone this repository to your apache2 localhost folder\n4. Install Dependencies by running ```composer install```\n\n\n## Tests\nModel and Helper classes have been fully tested. \nYou can see all test files [here](https://github.com/leodhb/poketrader/tree/main/tests/app). And to run the tests just run the command ```php vendor/bin/phpunit --colors  tests```\n\n## Questions?\nYou can contact me through social media or email me at henrikleod@gmail.com. I'll be glad to help 💜\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodhb%2Fpoketrader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleodhb%2Fpoketrader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodhb%2Fpoketrader/lists"}