Logo Lanfrica

AWS-AIML-Kenya/aws-ug-ml-backend

Domain:

digital infrastructure

Record type:

software
Creator:
AWS
Host:
# AWS UG ML Kenya ## Installation - Install the go in your system - Install compile daemon to enable hot reloading ```go install github.com``` ## Deployment - Generate an AES 256 Decoded Key to be used as the 'O' in the environment variables below - Create the following environment variables: Environment Variable | Type | Example ---- | ---- | ---- DB_HOST | String | localhost DB_PORT | Number | 5432 DB_NAME | String | db DB_USER | String | postgres DB_PASSWORD | String | lewdpizoka DEBUG | String | false JWT_AUTH_KEY | String | +q7ecbn19JyN5VP+pI0JqpG/0gNoFyAP1Nsb8yu5sCY= OBSCURE_KEY | AES 256 Decoded String | +q7ecbn19JyN5VP+pI0JqpG/0gNoFyAP1Nsb8yu5sCY= DOMAIN | String | domain.example.com TRUSTED_PROXIES | CSV String | 192.168.1.100, 10.0.0.0/8 ALLOW_ORIGINS | CSV String | frontend1.com, frontend2.com - Apply go migrations bt running the following command ```go run ./exe/exec.go``` - Run the following command to start the program ```compileDaemon -command="./aws_ug_ml_ky_backend.exe"``` ## Developers - Daniel Muringe