A app to list and filter pokemons.
Create a .env
file in the project folder. (For development, blank file is fine).
Copy .env.example
if you want to modify database credentials.
cp .env.example .env
docker-compose up --build -d
Navigate to localhost:8002/docs
to view available endpoints
Use this command to populate pokemons in database.
curl -X 'POST' \
'http://localhost:8002/v1/sync-pokemons' \
-H 'accept: application/json' \
-d ''
Or from browseable API you can populate pokemons by using sync-pokemons
endpoint.