A Pokémon team management written in Go
See the public Endpoint website to visualize all deployed endpoints
No installation required: the API endpoints are deployed at https://serdok-pokemon-go.ew.r.appspot.com/
In case you want to run the API locally, a Docker Compose file has been provided. Run docker-compose up to build and run both the api and the firebase emulators.
You can manipulate the following values using environment variables:
- The port to use for the server:
PORT(defaults to first8080if not taken) - The mode of the server:
GIN_MODE=debug|release(defaults todebug) - The firebase JSON config:
FIREBASE_CONFIG(either a JSON value or a file name) - The firebase auth emulator port:
FIREBASE_AUTH_EMULATOR_HOST(use9099if using docker-compose, otherwise refer to the firebase.json file for the used port) - The firestore emulator port:
FIRESTORE_EMULATOR_HOST(use8080if using docker-compose, otherwise refer to the firebase.json file for the used port)
Check out the wiki for all the details