shoriwe / message-api

Message API for the message-app repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

message-api

Build codecov Go Report Card GitHub go.mod Go version

REST API for message-app

Documentation

File Description
docs/spec.openapi.yaml OpenAPI documentation for the REST service
docs/CLI.md CLI documentation for the main binary

Running

Docker

docker pull ghcr.io/shoriwe/message-api:latest

Docker compose

Make sure to customize the example.env file. Then:

docker compose up -d

Binary

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

Building from source

go install github.com/shoriwe/message-api@latest

Coverage

coverage coverage

About

Message API for the message-app repository

License:MIT License


Languages

Language:Go 98.2%Language:Dockerfile 1.5%Language:Python 0.3%