This repository is the official BE services for ICY operations.
Create isolated shell using devbox
make shell
-
Install Golang
-
Install Docker
- Set up source
Set up infras, install dependencies, etc.
make init
If you use Devbox, it will be initialized automatically the first time you run make shell
- Set up env
Create a file .env
with these values:
DB_HOST="127.0.0.1"
DB_PORT="25432"
DB_USER="postgres"
DB_PASS="postgres"
DB_NAME="icy_backend_local"
DB_SSL_MODE="disable"
ALLOWED_ORIGINS="*"
ENV=dev
- Run source
make dev
The service starts with port 3000 as the default