The KNIT-Result-API is a simple Node.js API developed by the Programming and Tech Skills Club of KNIT to retrieve and cache student results based on their roll number.
- It uses Redis for caching to improve response times. When a result is cached, it is served immediately; otherwise, there's a 1-second delay for fetching and storing the data in the cache.
git clone https://github.com/programmingclub-knit/KNIT-Result-API.git
cd KNIT-Result-API
npm install
docker-compose up
npm start
http://localhost:3000/cache?roll={roll_no_here}
There is 1 second delay when data is not cached