Sign inSign up

microservices/firebase

By microservices

•Updated over 7 years ago

Image
0

605

microservices/firebase repository overview

⁠Firebase as a microservice

An OMG service for Firebase, it allows to clod messaging with the subscribe client.

Open Microservice Guide Build Status codecov GolangCI

⁠OMG⁠ CLI

⁠OMG
  • omg validate
omg validate
  • omg build
omg build
⁠Test Service
  • Test the service by following OMG commands
⁠CLI
⁠Send Message By Token
$ omg run send_message_by_token -a token=<TOKEN> -a title=<NOTIFICATION_TITLE> -a body=<NOTIFICATION_BODY> -a icon=<NOTIFICATION_ICON> -a data=<DATA_OBJECT>  -e SERVER_KEY=<SERVER_KEY>
⁠Send Message By Topic
$ omg run send_message_by_topic -a token=<TOKEN> -a topic=<TOPIC> -a body=<NOTIFICATION_BODY> -a icon=<NOTIFICATION_ICON> -a data=<DATA_OBJECT>  -e SERVER_KEY=<SERVER_KEY>

⁠License

⁠MIT⁠

⁠Docker

⁠Build
docker build -t microservice-firebase .
⁠RUN
docker run -p 3000:3000 microservice-firebase

Tag summary

Content type

Image

Digest

Size

571.6 MB

Last updated

over 7 years ago

docker pull microservices/firebase