REST API for message-app
File | Description |
---|---|
docs/spec.openapi.yaml | OpenAPI documentation for the REST service |
docs/CLI.md | CLI documentation for the main binary |
docker pull ghcr.io/shoriwe/message-api:latest
Make sure to customize the example.env file. Then:
docker compose up -d
You can find pre-compiled binaries at the releases section.
export SECRET = "MY_SECRET"
export FIREBASE_PROJECT_ID = "MY_FIREBASE_PROJECT"
export FIREBASE_CONFIGURATION_FILE = "firebase-adminsdk.json"
export DATABASE_FILE = "database.db"
message-api :5000
go install github.com/shoriwe/message-api@latest