star-wars-api

command module
v0.0.0-...-e1ef45a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL