golang_api_skeleton

command module
v0.0.0-...-aad8beb Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

README

Golang API Skeleton

A simple API skeleton written in Go with metrics pre-configurated

Build Status License

Includes

Dependencies

  • Docker
  • Docker Compose

Configuration

  • Docker Compose
    • Nginx with proxy_pass preconfigured
    • API
    • MongoDB
    • Redis
    • Prometheus
    • Prometheus Push Gateway
    • Grafana

Run

make run

Usage

curl http://localhost/healthcheck

curl -i -X POST -H 'Content-Type: application/json' -d '{"name": "user name", "email": "user@email.com"}' http://localhost/user

Metrics

Access:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
log

Jump to

Keyboard shortcuts

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