-
Java - 1.8.x
-
Maven - 3.x.x
-
MongoDB - 3.x.x
mvn jacoco:report
mvn spring-boot:run
The server will start at http://localhost:9000.
The application defines following REST APIs
1. GET /tweets - Get All Tweets
2. POST /tweets - Create a new Tweet
3. GET /tweets/{id} - Retrieve a Tweet by Id
4. PUT /tweets/{id} - Update a Tweet
5. DELETE /tweets/{id} - Delete a Tweet
6. GET /stream/tweets - Stream tweets to the browser
docker volume create --name=mongodata
docker run -d -p 27017:27017 -v mongodata:/data/db mongo
docker build -t reactive-spring-boot .
docker run -p 9000:9000 reactive-spring-boot
docker-compose up