Project developed for the challenge: 7 days of code Java by Alura.
You need following the below passes for run the project.
- Create a developer account on link: https://imdb-api.com/api
- Create a developer account on link: https://developer.marvel.com/account
- Create an environment variable called: IMDB_API_KEY with value generated in step 1
export IMDB_API_KEY=replace with API Key generated
- Create two environment variables called: MARVEL_PUBLIC_API_KEY and MARVEL_PRIVATE_API_KEY
with values generated in step 2
export MARVEL_PUBLIC_API_KEY=replace with Public API Key generated export MARVEL_PRIVATE_API_KEY=replace with Private API Key generated
-
Build app with package maven command:
mvn package
-
And then run
java -jar 7-days-of-code-java-1.0-SNAPSHOT-jar-with-dependencies.jar
ps.: If you want to translate .html output, pass the locale as argument following tag format:
java -Dlocale=pt-BR 7-days-of-code-java-1.0-SNAPSHOT-jar-with-dependencies.jar