make dev-docker-up
make dev-docker-down
make dev-local
The server will be listening on localhost:8080.
Demo: http://localhost:8080/docs/v1/starwars/swagger/index.html
{
"name": "coruscant",
"climate": "clim1,clim2",
"terrain": "terrain1,terrain2"
}
{
"data": [
{
"id": "6213aa3022a3324f016ea902",
"name": "coruscant",
"climate": "clim1,clim2",
"terrain": "terrain1,terrain2",
"quantity_film_appearances": 4,
"created_at": "2022-02-21T15:05:19.249Z",
"updated_at": "2022-02-21T15:05:19.249Z"
},
{
"id": "6213aa3322a3324f016ea903",
"name": "test2",
"climate": "clim1,clim2",
"terrain": "terrain1,terrain2",
"quantity_film_appearances": 0,
"created_at": "2022-02-21T15:05:22.786Z",
"updated_at": "2022-02-21T15:05:22.786Z"
}
]
}
{
"id": "6213aa3022a3324f016ea902",
"name": "coruscant",
"climate": "clim1,clim2",
"terrain": "terrain1,terrain2",
"quantity_film_appearances": 4,
"created_at": "2022-02-21T15:05:19.249Z",
"updated_at": "2022-02-21T15:05:19.249Z"
}
{
"id": "6213aa3022a3324f016ea902",
"name": "coruscant",
"climate": "clim1,clim2",
"terrain": "terrain1,terrain2",
"quantity_film_appearances": 4,
"created_at": "2022-02-21T15:05:19.249Z",
"updated_at": "2022-02-21T15:05:19.249Z"
}
make test