- Pundit;
- Simple_token_authentication;
To implement tests on this project was used Rspec gem.
This 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.
- The backend will be running on
localhost:3000
- The API is running on path
localhost:3000/api/v1/players
May 15
- Project created in Rails;
- Model Player created;
- Pundit added;
- Folder API created;
- API base controller created;
- API routes created;
- Player controller with policy_scope added;
- Views (JSON) created;
- Player seeds created;
May 17
- Pundity policy created;
- Second route /players/:id created;
- Migration to add tolken to user created;
- Update policies
May 18
- Create route added;
- Changes policy to allow user to POST;
- Fix typo on seed "Borussia Dortmund";
May 20
- Tests added with Rspec;