{"id":20330809,"url":"https://github.com/dking1342/redis-intro","last_synced_at":"2026-04-28T17:03:22.444Z","repository":{"id":108786720,"uuid":"494301280","full_name":"dking1342/redis-intro","owner":"dking1342","description":"An intro into redis with some examples and commands","archived":false,"fork":false,"pushed_at":"2022-05-21T06:52:23.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"redis-1","last_synced_at":"2025-06-15T23:11:22.013Z","etag":null,"topics":["redis","redis-cache","redis-client","redis-database","redis-server"],"latest_commit_sha":null,"homepage":"","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/dking1342.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":"2022-05-20T02:59:43.000Z","updated_at":"2022-05-21T06:53:15.000Z","dependencies_parsed_at":"2023-03-25T15:33:31.679Z","dependency_job_id":null,"html_url":"https://github.com/dking1342/redis-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dking1342/redis-intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dking1342%2Fredis-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dking1342%2Fredis-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dking1342%2Fredis-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dking1342%2Fredis-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dking1342","download_url":"https://codeload.github.com/dking1342/redis-intro/tar.gz/refs/heads/redis-1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dking1342%2Fredis-intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["redis","redis-cache","redis-client","redis-database","redis-server"],"created_at":"2024-11-14T20:17:42.382Z","updated_at":"2026-04-28T17:03:22.407Z","avatar_url":"https://github.com/dking1342.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis\n## Documentation\nDocumentation for Redis can be found \u003ca href=\"https://redis.io/\"\u003ehere\u003c/a\u003e\n\n## Examples\nExamples of a practical usage of Redis can be found in this repo.\n\n## Commands\nThe commands you can use with Redis can be found \u003ca href=\"https://redis.io/commands/\"\u003ehere\u003c/a\u003e\n\n### Simple Commands\n\u003cp\u003eData is stored in a key, value pair. The crud type of commands are:\u003c/p\u003e\n\u003cp\u003eSET key value - creating a record\u003c/p\u003e\n\u003cp\u003eGET key - retrieves a key, value pair\u003c/p\u003e\n\u003cp\u003eDEL key - deletes a key, value pair\u003c/p\u003e\n\u003cp\u003eEXISTS key - determine if key, value pair is there\u003c/p\u003e\n\u003cp\u003eKEYS pattern - retrieves all key, value pairs in storage matching the pattern\u003c/p\u003e\n\u003cp\u003eKEYS * - retrieves all key, value pairs in storage\u003c/p\u003e\n\u003cp\u003eFLUSHALL - clears the entire storage\u003c/p\u003e\n\u003cp\u003eTTL key - time to live for the key, value pair\u003c/p\u003e\n\u003cp\u003eEXPIRE key time - makes a key, value pair expire in t time\u003c/p\u003e\n\u003cp\u003eSETEX key time value - sets a key, value pair and have it expire in t time\u003c/p\u003e\n\n### Different data types\n#### Array\n\u003cp\u003eLRANGE key start stop - retrives an array\u003c/p\u003e\n\u003cp\u003eLPUSH key value - pushes the value to an array\u003c/p\u003e\n\u003cp\u003eRPUSH key value - add the value to the end of the array\u003c/p\u003e\n\u003cp\u003eLPOP key - pops the first value of the array and returns it\u003c/p\u003e\n\u003cp\u003eRPOP key - pops the last value of the array and returns it\u003c/p\u003e\n\n#### Sets\n\u003cp\u003eSADD key member - adds a value to the set\u003c/p\u003e\n\u003cp\u003eSMEMBERS key - retrieves all the values of the set\u003c/p\u003e\n\u003cp\u003eSREM key - removes the set\u003c/p\u003e\n\n#### Hash - no nesting\n\u003cp\u003eHSET key field value - inserts a key, value pair into the heap\u003c/p\u003e\n\u003cp\u003eHGET key field - retrieves a unique key, value pair from the heap\u003c/p\u003e\n\u003cp\u003eHGETALL key - retrieves all key, value pairs from the heap\u003c/p\u003e\n\u003cp\u003eHDEL key field - removes a key, value pair from the heap\u003c/p\u003e\n\u003cp\u003eHEXISTS key field - checks to see if key, value pair exists in the heap\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdking1342%2Fredis-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdking1342%2Fredis-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdking1342%2Fredis-intro/lists"}