2023-09-28 09:34:39 +02:00
|
|
|
# spaceapi
|
|
|
|
|
2024-04-25 22:04:58 +02:00
|
|
|
![build status](https://git.okoyono.de/okoyono/okospaceapi/badges/workflows/docker-image.yaml/badge.svg)
|
|
|
|
|
2024-01-25 11:26:43 +01:00
|
|
|
## Develop
|
2023-09-28 10:13:41 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
go generate
|
2024-01-25 11:26:43 +01:00
|
|
|
go run cmd/cmd.go
|
2023-09-28 10:13:41 +02:00
|
|
|
```
|
2024-01-25 11:26:43 +01:00
|
|
|
|
|
|
|
## Build/Run docker container
|
|
|
|
|
|
|
|
```
|
|
|
|
docker compose build
|
|
|
|
docker compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
After that, you can access the API with https://127.0.0.1:8080
|
|
|
|
|