# 3.0.2
-
Postgres version 13
bundle install
Tem serializers e tem config the test com shoulda, factory e rspec
-
Database creation
rails db:create rails db:migrate rails db:seed
Utiliza HTTParty gem como seed do banco de dados
Dentro do repo utilize rspec
```bash
rspec
```
- Heroku Postgres
https://pokeapicabral.herokuapp.com
GET -> https://pokeapicabral.herokuapp.com/pokemons
POST -> https://pokeapicabral.herokuapp.com/histories
- Request body esperado
{
"pokemon_player1_ids": [ 100, 200, 300 ],
"pokemon_player2_ids": [ 400, 500, 600 ]
}
Lembrando os ids de pokemon no banco vao ate 700
GET -> https://pokeapicabral.herokuapp.com/histories
https://github.com/JoaoVictorCabraldeMelo/PokeApiFront