This API application provides a way to fetch a N random items from any custom domain entity we provide the application using mongodb.
The application uses Mongodb as repository and $sample aggreation and returns N Random Phrases.
For the house sake- Now the application is able to do basic CRUD operations as well as new N first/last aggregations added.
You can run this application using VSCode F5
or just run docker-compose up
curl --request GET --url http://localhost:5000/api/phrases/1