Rest API of planets information from the Star Wars movie, with integration to the public SWAPI API (https://swapi.dev/)
For Linux distributions, the configuration of the Java development environment can be done through the SDK man
curl -s "https://get.sdkman.io" | bash
source $HOME/.sdkman/bin/sdkman-init.sh
sdk install java ${java.version}.hs-adpt
To install the mongodb docker image, run:
docker pull mongo
Then, you will need to login to the docker using the command:
docker login
To correct problems regarding permissions to launch the docker container, enter the commands:
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
Then run the commands below:
Start mongoDB docker
docker-compose up -d
Be sure that container has been started [state should be: up (healthy)]
docker-compose ps
To follow the logs of the docker container initialization process, insert:
docker-compose logs -f
To install the project dependencies, run:
mvn clean install
To compile the project, run:
mvn clean compile