Categorygithub.com/sirtalin/democrart
repository
0.0.0-20201020155447-4e6b2c2ea3f2
Repository: https://github.com/sirtalin/democrart.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

DemocrArt

API developed in Go to obtain art paintings easily.

This project wants to offer a new method to obtain information for data science projects which work with art paintings.

Required Environment Variables

General Envs

  • TIME_LAYOUT_US="January 2, 2006"

Envs that affect to the logs

  • LOGS_LEVEL={trace, debug, info, warning, error, fatal}
  • TIMESTAMP_FORMAT="02-01-2006 15:04:05"
  • FULL_TIMESTAMP={true, false}

Envs for the database connection

  • DATABASE_DRIVER. PostgreSQL recommended.
  • DATABASE_HOST
  • DATABASE_PORT
  • DATABASE_USER
  • DATABASE_PASSWORD
  • DATABASE_NAME
  • DATABASE_SSL
  • DATABASE_MAX_IDLE_CONNS
  • DATABASE_MAX_OPEN_CONNS