{"id":19037202,"url":"https://github.com/mustafah15/cache-api","last_synced_at":"2025-07-03T20:33:55.645Z","repository":{"id":51638514,"uuid":"232306889","full_name":"mustafah15/cache-api","owner":"mustafah15","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-05T05:11:29.000Z","size":393,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T22:13:02.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mustafah15.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}},"created_at":"2020-01-07T11:05:54.000Z","updated_at":"2021-09-01T18:46:08.000Z","dependencies_parsed_at":"2023-02-03T12:01:59.864Z","dependency_job_id":null,"html_url":"https://github.com/mustafah15/cache-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mustafah15/cache-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafah15%2Fcache-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafah15%2Fcache-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafah15%2Fcache-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafah15%2Fcache-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mustafah15","download_url":"https://codeload.github.com/mustafah15/cache-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafah15%2Fcache-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263400499,"owners_count":23460911,"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-11-08T21:59:03.176Z","updated_at":"2025-07-03T20:33:55.618Z","avatar_url":"https://github.com/mustafah15.png","language":"JavaScript","readme":"# cache api\n\nThis project is provides APIs for CRUD operations to cache resources and it handles all the logic according to the spec file.\n\n## installation\n\n- run the docker image it will build the project container and all it's dependencies\n\n-  for starting the server \n```\nnpm run start\n```\n\n```\ncp .env-example .env\nnpm run docker\n```\n- for running the tests\n```\nnpm run test\n```\n- for checking the lint\n```\nnpm run lint\n```\n- for checking tests coverage\n```\nnpm run coverage\n```\n\n##  usage\n\n### GET request to /cache\nthis for list all the cache objects\n\n### GET request to /cache/{key}\nfor getting specific cache object by it's key\n\n### POST request to /cache/{key}\n### PUT request to /cache/{key}\n\nfor 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.\n\n### DELETE request to /cache/{key}\nthis will delete an object by it's key\n\n### DELETE request to /cache\nthis for deleting all the database\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafah15%2Fcache-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafah15%2Fcache-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafah15%2Fcache-api/lists"}