- Redis server must be running at port 6379
- Mongodb server must be running at port 27017
- Import the project into Eclipse
- Do a maven update
- Run com.kvinod.App class
- Use a browser to visit http://localhost:2233/api/users
- Using one of the user's id, make another request (e.g, http://localhost:2233/api/users/5d876248a0b7a0fde2b490f9)
- You should see some mongodb logs on Eclipse console
- Refresh the browser multiple times, but no logs to be displayed on Eclipse console
- You may even stop mongodb server and refresh the browser, and still get data (cached in Redis)
- While the mongodb has stopped, if you make request for any other id, you must get error 500