ChefBook Server 💾
Common information can be found at main repository
- Language: Go
- Architecture Style: REST API
- Architecture: Simplified Clean (Delivery (Presenter) / Repository -> Service (UseCases) -> Entity)
- DB: PostgreSQL
- Data Storage: Any S3 storage
- Proxy-Server: Traefik
- Docker & Docker Compose
- Clone the repo
- Create and configure
.env
file in root directory:
# APP CONFIGURATION
APP_ENV=debug
# HTTP CONFIGURATION
HTTP_HOST=
HTTP_PORT=80
HTTPS_PORT=443
# DB CONFIGURATION
DB_NAME=
DB_PORT=
DB_USER=
DB_PASSWORD=
# BACKEND CONFIGURATION
BACKEND_PORT=
JWT_SIGNING_KEY=
SALT_COST=10
#S3 CONFIGURATION
S3_ACCESS_KEY=
S3_SECRET_KEY=
# SMTP CONFIGURATION
SMTP_EMAIL=
SMTP_PASSWORD=
- Use
sudo docker-compose up
command to run server