Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.45 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.45 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: