CF sample application API
- Clone the repo
git clone https://github.com/mkretz/notification-api.git
cd notification-api
- Create a MongoDB service instance called
notification-db
cf create-service mongodb-2 small notification-db
- Create a RabbitMQ service instance called
notification-mq
cf create-service rabbitmqent usage notification-mq
- Adapt the
route
attribute inmanifest.yml
to a value matching an avilable domain. - Push the app
cf push
- Test the app using the route specified in
manifest.yml
curl https://notification-api.scapp.io/notification