Skip to content

oliveiravictorp/phx_mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhxMon

API to create trainers and their pokémons. Consuming PokéAPI.

Dependencies

  • Erlang and Elixir
  • PostgreSQL
  • Software for testing endpoints (Postman, HTTPie, Curl)

Start

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Examples

Trainers:

The requests below require the Header: Authorization:Bearer token (Trainer login token)

Pokémons:

The requests below require the Header: Authorization:Bearer token (Trainer login token)

Tests

  • Run the tests with mix test

References

About

API Pokémon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages