/swapi-planets-api

version 1 of swapi-planets

Primary LanguageJava

Swapi Planets with Docker

Welcome to Swapi-Planets API! In this Application you can Add, Remove and Search by ID/Name (locally added planets or registered planets on swapi.dev). When adding a planet, if it's a Swapi registered Planet, the number of films appearances will be auto-filled up!

How to run this application using Docker:

  • Make sure to have Docker already installed on your computer, find how to install here: Docker Hub

  • Open a terminal at the project's root, and run gradlew build -x test to build the application.

  • All you need to do after the build is run docker-compose up --build to create the necessary containers.

You can try the API with Insomnia, there's an insomnia.json on the root folder, you can import it in the Insomnia Desktop or just click:

Run in Insomnia}

This is my very first API Rest with SpringBoot/MongoDB/Docker.

Hope you like it!