API Gateway connecting Spotifiuby's micro-services. Done using express-gateway.
{gateway}/songs
: Songs API{gateway}/devsongs
: Songs development environment API{gateway}/messages
: Messages API{gateway}/notifications
: Notificatinos API{gateway}/payments
: Payments API{gateway}/balance
: User balance Endpoint (migrate to payments and remove)
Add route name, url and apiKey to generate.js
and run it with node
node generate.js
that will automatically add the route to the gateway configuration.
$ npm i
You'll need node to run this project. See the installation guide on the node server if you don't have it.
$ npm start
The pipeline deploys the server automatically on pushing to master
You should create the app on heroku first
You'll need to set the following actions secrets:
HEROKU_NAME
: App nameHEROKU_EMAIL
: Account emailHEROKU_API_KEY
: Account API key