message-api

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
sqlite
sqlite will be only used for unit tests and when no postgres DSN is provided
sqlite will be only used for unit tests and when no postgres DSN is provided

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL