go_api

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

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 8 Imported by: 0

README

go_api

Author: Adilton Costa Year: 2022 E-mail:

Very simples API built in GO! to fetch data from a DataWarehouse.

classic ETL template

Credentials for db access are obtained from envs and can be exported like this:

export APP_HOST=127.0.0.1
export APP_PORT=5432
export APP_DB_USERNAME=pg_username
export APP_DB_PASSWORD=pg_password
export APP_DB_NAME=pg_db

//localhost:8080/api/v10/minhacesta/{uf}/{city}/{district}/{product}

Dockerfile: docker build -t go-api . docker run --name go-api -d -p 8080:8080 go-api

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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