- MongoDB (Local),
.env
file to store the database password
- Postman to test api endpoints
- Redis for caching
- FakerJS to generate large amount of data
# Installing dependencies
yarn
# Starting the application
yarn dev
POST - /redistest/populateDB (Populate the database with data)
POST - /redistest/clearDB (Drop collection in database)
GET - /redistest/mongotime (Get the time required to retrieve all the data using Mongo)
GET - /redistest/redistime (Get the time required to retrieve all the data using Redis)
POST - /redistest/clearRedis (Clear the cache in Redis)