Log Processor for Meme_Api Acts as an HTTPs LogDrain using Heroku's LogPlex and stores API Analytics to MongoDB on a day by day basis
Clone the repo and run the following commands to install all necessary dependencies and build the app
go install
go build .Set the following Environment Variables
export MONGODB_URI=<MONGODB_URI_HERE>
export SENTRY_DSN=<SENTRY_DSN_HERE>Run the app by executing the binary
./Meme_Api_LogDrainSetup LogDrain for your Heroku App using the Heroku CLI
heroku drains:add https://<APP_HOSTED_URL>/log -a myapp