Skip to content

tirthkundu/cache-module

Repository files navigation

Cache module

Backend task

The repo consists of below APIs:

  • GET /cache/key/:keyName //Returns the value corresponding to a key
  • GET /cache/allKeys //Returns all keys present
  • PUT /cache/:keyName //Update a key's value
  • DELETE /cache/:keyName //Delete a key from cache
  • POST /cache/deleteAll //Deletes all keys

Local Setup

Documentation

Go to the link below to get the access to the API documentation and API testing play ground: https://documenter.getpostman.com/view/10563214/SzYbyxRA?version=latest

Scripts

  • To install dependencies: Run npm install // Installs dependencies
  • To start the process: Run npm start // Runs the project
  • To run tests: Run npm test // Executes test cases
  • To run prettier: Run npm run pretty // Prettify the files with desired indentation and spacing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published