reactive-microservices-rest-api
Requirements
-
Java - 1.8.x
-
Maven - 3.x.x
-
Redis - 4.x
-
Docker
Exploring the Rest API
The Expert application defines following REST APIs
POST /experts - Create a new Expert
GET /experts/{expertId}/status - Retrieve a Expert status by Id
PUT /experts/{expertId}/status - Update a Expert status by Id
PUT /experts/{expertId}/location - Update a Expert location
GET /experts - Retrieve a Experts by parameters
The ExpertBooking application defines following REST APIs
PUT /expertbookings/accept - Accept the Booking
PUT /expertbookings/cancel - Cancel the Booking
GET /expertbookings - Retrieve all bookings by parameters
POST /expertbookings - Create a new Booking
Using Docker to start Redis instance
docker run -d -p 6379:6379 --name orderexpert_redis redis
Deploying microservices with Docker
docker-compose build
docker-compose up -d