This project is provides APIs for CRUD operations to cache resources and it handles all the logic according to the spec file.
-
run the docker image it will build the project container and all it's dependencies
-
for starting the server
npm run start
cp .env-example .env
npm run docker
- for running the tests
npm run test
- for checking the lint
npm run lint
- for checking tests coverage
npm run coverage
this for list all the cache objects
for getting specific cache object by it's key
for creating a new cache object if this key does not exists before if it exists it will update the data with the provided data in the body.
this will delete an object by it's key
this for deleting all the database