{"id":15569882,"url":"https://github.com/thiagohrcosta/soccer-api","last_synced_at":"2026-04-12T03:01:54.358Z","repository":{"id":104848277,"uuid":"367759009","full_name":"thiagohrcosta/soccer-api","owner":"thiagohrcosta","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-21T02:12:25.000Z","size":209,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T17:59:40.323Z","etag":null,"topics":["postgresql","postman","pundit","rails","rspec","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/thiagohrcosta.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":"2021-05-16T01:03:37.000Z","updated_at":"2021-05-21T02:14:11.000Z","dependencies_parsed_at":"2023-07-04T22:49:23.847Z","dependency_job_id":null,"html_url":"https://github.com/thiagohrcosta/soccer-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fsoccer-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fsoccer-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fsoccer-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagohrcosta%2Fsoccer-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagohrcosta","download_url":"https://codeload.github.com/thiagohrcosta/soccer-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145085,"owners_count":20730495,"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":["postgresql","postman","pundit","rails","rspec","ruby"],"created_at":"2024-10-02T17:40:27.809Z","updated_at":"2025-12-30T23:19:16.204Z","avatar_url":"https://github.com/thiagohrcosta.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Soccer API\n![main](https://res.cloudinary.com/dloadb2bx/image/upload/v1621355630/soccerAPi_e604ov.png)\n\n## Technologies used in this project\n\u003cimg alt=\"Ruby\" src=\"https://img.shields.io/badge/ruby-%23CC342D.svg?\u0026style=for-the-badge\u0026logo=ruby\u0026logoColor=white\"/\u003e \u003cimg alt=\"Rails\" src=\"https://img.shields.io/badge/rails-%23CC0000.svg?\u0026style=for-the-badge\u0026logo=ruby-on-rails\u0026logoColor=white\"/\u003e \u003cimg alt=\"Postgres\" src =\"https://img.shields.io/badge/postgres-%23316192.svg?\u0026style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\"/\u003e \u003cimg alt=\"Postman\" src=\"https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge\u0026logo=postman\u0026logoColor=red\" /\u003e\n\n### Gems used:\n\n - Pundit;\n - Simple_token_authentication;\n\n## API Request\n![api](https://res.cloudinary.com/dloadb2bx/image/upload/v1621355451/api_vzv6ce.gif)\n\n## Tests\nTo implement tests on this project was used Rspec gem.\n![tests](https://res.cloudinary.com/dloadb2bx/image/upload/v1621563038/teste1_fgcz99.gif)\n## How to run this project?\nThis project was building using the **backend as API**, because of that after download, you need to open the main folder and run `rails s` to start the backend API. After that, you can use Postman to do get and request.\n\n - The backend will be running on `localhost:3000`\n - The API is running on path `localhost:3000/api/v1/players`\n\n\n## Development routine\n\n**May 15**\n\n   - Project created in Rails;\n   - Model Player created;\n   - Pundit added;\n   - Folder API created;\n   - API base controller created;\n   - API routes created;\n   - Player controller with policy_scope added;\n   - Views (JSON) created;\n   - Player seeds created;\n\n**May 17**\n\n   - Pundity policy created;\n   - Second route  /players/:id created;\n   - Migration to add tolken to user created;\n   - Update policies\n\n\n**May 18**\n\n   - Create route added;\n   - Changes policy to allow user to POST;\n   - Fix typo on seed \"Borussia Dortmund\";\n\n**May 20**\n   - Tests added with Rspec;\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fsoccer-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagohrcosta%2Fsoccer-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagohrcosta%2Fsoccer-api/lists"}