ppwfx / gcp-svc

0 stars 0 forks source link

user-svc

todo

dependencies

To build the service, and run the integration, the following dependencies are required:

- go
- docker
- docker-compose

The service has been tested in the following environment:

$ go version
go version go1.13.3 darwin/amd64

$ docker version
Client: Docker Engine - Community
 Version:           19.03.8
Server: Docker Engine - Community
 Engine:
  Version:          19.03.8

$ docker-compose version
docker-compose version 1.25.5

usage

specification

commands

The user-svc binary provides the following commands:

security

testing

The test environment is setup with docker compose. The test environment consists of the following container:

database

The service uses a postgres database for persistence.

tables

The database provides the following tables:

migration

In the production context, user-svc migrate migrates the database

In the testing context, the test migrates the database

communication

The service accepts, and returns application/json encoded objects via HTTP

routes