wlwanpan / web-services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Service

Mount and start

docker-compose up -d

To import from data.csv upon start, set:

MIGRATE_ON_START=true

in the docker-compose file.

Note: the data.csv need to be located at the root of the repo.

API

  • Simple Queries
curl localhost:8080/unique-users
  • With filters
curl localhost:8080/unique-users?device=1,os=2
  • Example response
{
  count: 123
}

About

License:MIT License


Languages

Language:Go 97.5%Language:Dockerfile 2.5%