Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.21 KB

File metadata and controls

51 lines (35 loc) · 1.21 KB

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: