This repository has been archived on 2024-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
golang-rest-example/README.md

24 lines
449 B
Markdown
Raw Permalink Normal View History

2024-02-01 22:09:09 +00:00
# `mentos1386/golang-rest-example`
### Development
Tools required:
2024-02-02 14:39:13 +00:00
* [Just](https://github.com/casey/just)
* [watchexec](https://github.com/watchexec/watchexec) for `-watch` commands
2024-02-01 22:09:09 +00:00
* Docker and Docker Compose
```sh
# Run development version
2024-02-01 22:09:09 +00:00
just run
# Run "production" version
just deploy
2024-02-02 14:39:13 +00:00
# Api is available at http://localhost:1234
# Swagger is available at http://localhost:1235
2024-02-01 22:09:09 +00:00
curl -v localhost:1234/healthz
# Run tests
just test
2024-02-01 22:09:09 +00:00
```