star-wars-api
A simple CRUD api for Star Wars planets. See the docs
Local
To run the API locally:
$ make compose-up
$ make run
Test it with
$ curl localhost:8080/sw-api/health?user=jedimaster
Fill the database with planets from swapi
$ curl localhost:8080/sw-api/planets/update-movies
Clean everything when you are done
$ make compose-down