Main project api. Contains the api for auth and media mangement. Written in Go. Uses gRPC for communication.
Copy the example file:
cp .env.example .env
Or if using docker compose:
cp .env.example .env.docker
go mod tidy
go mod vendor
# less strict
# go fmt ./...
# stricter (recommended)
gofumpt -l -w .
protoc --go_out=./internal/pkg/protobuf/ --go-grpc_out=./internal/pkg/protobuf/ ./api/protobuf/*.proto
protoc --dart_out=grpc:./internal/pkg/dart_protobuf ./api/protobuf/*.proto