mrt-go

module
v0.0.0-...-60c21ee Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0

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

Path Synopsis
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

Jump to

Keyboard shortcuts

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