savitoh / 7-days-of-code-java

Project developed for the challenge: 7 days of code Java by Alura.

Home Page:https://7daysofcode.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

7 Days Of Code Java

Project developed for the challenge: 7 days of code Java by Alura.

Getting Started

You need following the below passes for run the project.

Prerequisites

Configuration

  1. Create a developer account on link: https://imdb-api.com/api
  2. Create a developer account on link: https://developer.marvel.com/account
  3. Create an environment variable called: IMDB_API_KEY with value generated in step 1
       export IMDB_API_KEY=replace with API Key generated
  4. 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 and Run

  1. Build app with package maven command:

       mvn package
  2. 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

About

Project developed for the challenge: 7 days of code Java by Alura.

https://7daysofcode.io/


Languages

Language:Java 100.0%