module
Version:
v0.0.0-...-60c21ee
Opens a new window with list of versions in this module.
Published: Apr 3, 2024
License: GPL-3.0
Opens a new window with license information.
README
¶
MRT Waste Water API
Local development setup
Dependencies:
- Go 1.21
- MongoDB 10.6 or latest
- Swaggo/Swagg (for make api doc)
Create .env
file from .env.example
and fill your DB_DSN
in there.
Install Go dependencies with go mod download
.
Useful make commands:
make dev
make api-docs
make unit-test
make coverage
Running locally
Run make api-docs; make dev
Access the API
http://127.0.0.1:3000/docs/index.htm
Directories
¶
|
|
|
|
|
|
|
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag |
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.