{"id":15754971,"url":"https://github.com/killmenot/zencastr-cache","last_synced_at":"2025-03-31T08:15:07.202Z","repository":{"id":66165333,"uuid":"421588226","full_name":"killmenot/zencastr-cache","owner":"killmenot","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-28T12:21:55.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T12:30:54.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/killmenot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-26T21:23:40.000Z","updated_at":"2021-10-28T12:21:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"c532f680-441b-4ac1-99d3-c1fc720bfe6d","html_url":"https://github.com/killmenot/zencastr-cache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killmenot%2Fzencastr-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killmenot%2Fzencastr-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killmenot%2Fzencastr-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killmenot%2Fzencastr-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killmenot","download_url":"https://codeload.github.com/killmenot/zencastr-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246436381,"owners_count":20776995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T08:06:09.745Z","updated_at":"2025-03-31T08:15:07.175Z","avatar_url":"https://github.com/killmenot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\n[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n### API\n\nNOTES:\n - TTL should be passed via headers (x-ttl) and must be milliseconds (1000 = 1s) except setting values for multiple keys\n\n1. Get the list of all keys `GET /storage/list`\n2. Get the value for key `GET /storage/keys/:id`\n3. Get the ttl value for key `GET /storage/keys/:id/ttl`\n4. Set the value for key `PUT /storage/keys/:id`, payload -\u003e value\n5. Set the ttl value for existing key `PUT /storage/keys/:id/ttl`, no payload needed\n6. Get values for multiple keys `GET /storage/mkeys?ids[]=key1\u0026ids[]=key2`\n7. Set values for multiple keys `PUT /storage/mkeys`. payload must be `[ { key: 'string', value: any, ttl?: number } ]`\n8. Delete value for the key `DELETE /storage/keys/:id`\n8. Delete values for multiple key `DELETE /storage/mkeys?ids[]=key1\u0026ids[]=key2`\n9. Delete values for all key `DELETE /storage/flush`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillmenot%2Fzencastr-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillmenot%2Fzencastr-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillmenot%2Fzencastr-cache/lists"}