The Marathon push notification platform makes it very easy to send massive push notifications to tens of millions of users for several different apps. The architecture is composed of two main modules:
- An API built on top of Echo Web Framework.
- Workers built on top of go-workers.
- Multi-tenant - Marathon already works for as many apps as you need, just keep adding new ones;
- Multi-services - Marathon supports both gcm and apns services, but plugging a new one shouldn't be difficult;
- Massive Push Notification - Send tens of millions of push notifications and keep track of job status;
- New Relic Support - Natively support new relic with segments in each API route for easy detection of bottlenecks;
- Sendgrid Support - Natively support sendgrid and send emails when jobs are created, scheduled, paused or enter circuit break;
- Easy to deploy - Marathon comes with containers already exported to docker hub for every single of our successful builds. Just pick your choice!
Read more about Marathon in our comprehensive documentation.
Make sure you have go installed on your machine.
If you use homebrew you can install it with brew install go
.
Run make setup
.
Make sure you have docker compose installed as we'll use it to run all Marathon dependencies with make prepare-dev
. The list of dependencies follows:
- Kafka
- Zookeper
- Postgres
- Redis
You can run the api with make run-api
. Moreover, you can run inside a container bypassing the need to install dependencies on your machine by running make run-api-docker
.
Run the workers with make run-workers
.
Running tests can be done with make test
, while creating the test database can be accomplished with make drop-test
and make db-test
.