Simple REST API server that publishes events using Pusher. This is meant to be used as the back-end for the project https://github.com/eh3rrera/feed-pusher-android.
You can follow the tutorial to build this application or jump straight to the code.
- Create an app on Pusher and copy your app's id, key, and secret.
- Clone this repository and
yarnto download the dependencies.
PUSHER_APP_ID=XXXXXX PUSHER_APP_KEY=XXXXXX PUSHER_APP_SECRET=XXXXXX node server.jsto start the server.
- Start sending JSON request to
- Thanks to Pusher for sponsoring this tutorial.