Setup - Fabryo/PokeManiac GitHub Wiki

Setup

The application fetches a list of characters from the SuperheroAPI https://superheroapi.com/. To compile and run the app, you need to obtain a token from the API and add it to your zshrc or bash_profile file:

  • add in your ~/.bash_profile or ~/.profile or ~/.zshrc :

export SUPER_HERO_API_TOKEN="your_token"

  • run in terminal :

source ~/.profile OR source ~/.bash_profile OR source ~/.zshrc

  • invalidate/cache Android Studio (not necessarily needed)

OR in the file api/build.gradle.kts, add your token line 6