{"id":19594031,"url":"https://github.com/andrei1994rus/test-redis","last_synced_at":"2026-04-28T12:38:50.998Z","repository":{"id":171691883,"uuid":"585614841","full_name":"andrei1994rus/test-redis","owner":"andrei1994rus","description":"Test Redis on NodeJS. (Redis,NodeJS,ioredis,dotenv,node-fetch,Express)","archived":false,"fork":false,"pushed_at":"2024-06-10T18:20:31.000Z","size":406,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T13:07:06.830Z","etag":null,"topics":["api","database","dotenv","express","html","ioredis","javascript","js","node","node-fetch","node-js","redis-client","redis-database","server"],"latest_commit_sha":null,"homepage":"https://test-api-redis.netlify.app/","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/andrei1994rus.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":"2023-01-05T16:12:42.000Z","updated_at":"2024-06-25T21:46:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"69b75264-7ca9-43f9-acca-37701ca7ce50","html_url":"https://github.com/andrei1994rus/test-redis","commit_stats":null,"previous_names":["andrei1994rus/test-redis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrei1994rus/test-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrei1994rus%2Ftest-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrei1994rus%2Ftest-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrei1994rus%2Ftest-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrei1994rus%2Ftest-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrei1994rus","download_url":"https://codeload.github.com/andrei1994rus/test-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrei1994rus%2Ftest-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","database","dotenv","express","html","ioredis","javascript","js","node","node-fetch","node-js","redis-client","redis-database","server"],"created_at":"2024-11-11T08:42:08.102Z","updated_at":"2026-04-28T12:38:50.977Z","avatar_url":"https://github.com/andrei1994rus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test-redis\n---\nThis app is test Redis on NodeJS. List is used in database.\n\n---\n# Functions\n\n- Use database (Redis);\n- Get list;\n- Get count of elements;\n- Get element of list by inputted index;\n- Push element/elements into list;\n- Remove element from list;\n- Set element of list;\n- Handle wrong path (404 NOT FOUND);\n- Can delete spaces before and after ',' during execute command lpush;\n- Has index.html to explain about commands.\n---\n# Commands\n\n- [Lrange](https://redis.io/commands/lrange/) - get all elements of list (path: /.netlify/functions/api/person/). Command in Redis: LRANGE person 0 n (also this argument may be -1) - where 'n' is count of elements;\n- [Llen](https://redis.io/commands/llen/) - get count of list's elements (path: /.netlify/functions/api/person/count);\n- [Lindex](https://redis.io/commands/lindex/) - get element of list by inputted index (path: /.netlify/functions/api/person/:index - where ':index' is inputted index);\n- [Lset](https://redis.io/commands/lset/) - set inputted element by required index (path: /.netlify/functions/api/person/lset/:index/:elem - where ':index' is required index, ':elem' is inputted element);\n- [Lrem](https://redis.io/commands/lrem/) - remove inputted element 1 time (path: /.netlify/functions/api/person/lrem/:elem - where ':elem' is element what you need to remove from list). Command in Redis: LREM person -1 element - where 'element' is inputted element;\n- [Lpush](https://redis.io/commands/lpush/) - push inputted element/elements into begin of list (path: /.netlify/functions/api/person/lpush/:elem - where ':elem' is new element or array of new elements). Command in Redis (one element): LPUSH person element - where 'element' is inputted element. Command in Redis (few elements): LPUSH person element1 element2 ... - where 'element1' is first inputted element, where 'element2' is second inputted element, where '...' is infinite count of new elements (depends on your wish).\n---\n# Example of use Lpush in browser\n\nOne element: /person/lpush/test\n\nFew elements: /person/lpush/test1,test2\n\n---\n# Used stack technology \n- NodeJS;\n- Redis;\n- HTML;\n- JS;\n- Libraries: dotenv, Express, ioredis, node-fetch.\n---\n[URL](https://test-api-redis.netlify.app/) .","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrei1994rus%2Ftest-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrei1994rus%2Ftest-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrei1994rus%2Ftest-redis/lists"}