{"id":21672370,"url":"https://github.com/redis-developer/redis-starter-js","last_synced_at":"2026-03-10T10:02:45.562Z","repository":{"id":260704773,"uuid":"881994525","full_name":"redis-developer/redis-starter-js","owner":"redis-developer","description":"A starter project for working with Redis and JS","archived":false,"fork":false,"pushed_at":"2026-03-06T23:29:57.000Z","size":400,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-07T02:18:47.587Z","etag":null,"topics":["express","javascript","js","node-redis","redis","starter","template"],"latest_commit_sha":null,"homepage":"https://redis.io/docs/latest/develop/clients/nodejs/","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/redis-developer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-01T16:49:51.000Z","updated_at":"2026-03-06T23:30:00.000Z","dependencies_parsed_at":"2024-11-02T00:21:02.336Z","dependency_job_id":"ced98695-781a-456f-8c80-c7ac909cd4d8","html_url":"https://github.com/redis-developer/redis-starter-js","commit_stats":null,"previous_names":["redis-developer/redis-starter-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redis-developer/redis-starter-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fredis-starter-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fredis-starter-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fredis-starter-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fredis-starter-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-developer","download_url":"https://codeload.github.com/redis-developer/redis-starter-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fredis-starter-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30329697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"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":["express","javascript","js","node-redis","redis","starter","template"],"created_at":"2024-11-25T13:29:10.458Z","updated_at":"2026-03-10T10:02:45.539Z","avatar_url":"https://github.com/redis-developer.png","language":"TypeScript","readme":"This is a [Redis](https://redis.io/) starter template for JS and [Node](https://nodejs.org/) using:\n\n- [Redis Cloud](https://redis.io/try-free/)\n- [Express](https://expressjs.com/)\n\n## Requirements\n\n- [bun](https://bun.sh/)\n- [docker](https://www.docker.com/)\n  - Optional\n\n## Getting started\n\nCopy and edit the `.env` file:\n\n```bash\ncp .env.example .env\n```\n\nYour `.env` file should contain the connection string you copied from Redis Cloud.\n\nYour `.env.docker` file will look similar to `.env`, but should use the appropriate docker internal URLs. Here is\nan example:\n\n```bash\nREDIS_URL=\"redis://redis:6379\"\n```\n\nNext, spin up docker containers:\n\n```bash\nbun docker\n```\n\nYou should have a server running on `http://localhost:\u003cport\u003e` where the port is set in your `.env` file (default is 8080). You can test the following routes:\n\n1. `GET /api/todos` - Gets all todos\n2. `GET /api/todos/:id` - Gets a todo by ID\n3. `GET /api/todos?[name=\u003cname\u003e]\u0026[status=\u003cstatus\u003e]` - Search for todos by name and/or status\n4. `POST /api/todos` - Create a todo with `{ \"name\": \"Sample todo\" }`\n5. `PATCH /api/todos/:id` - Update todo by ID with `{ \"status\": \"todo|in progress|complete\" }`\n6. `DELETE /api/todos/:id` - Delete a todo by ID\n\n## Running tests\n\nThere are some tests in the `__tests__` folder that can be run with the following command:\n\n```bash\nbun test\n```\n\nThese tests setup and teardown on their own. You can modify them if you want to leave data in Redis.\n\n## Running locally outside docker\n\nTo run the development server outside of docker:\n\n```bash\nbun install\n# then\nbun dev\n```\n\n## Other Scripts\n\nFormatting code:\n\n```bash\nbun format\n```\n\nUpdating dependencies:\n\n```bash\nbun update\n```\n\n## Connecting to Redis Cloud\n\nIf you don't yet have a database setup in Redis Cloud [get started here for free](https://redis.io/try-free/).\n\nTo connect to a Redis Cloud database, log into the console and find the following:\n\n1. The `public endpoint` (looks like `redis-#####.c###.us-east-1-#.ec2.redns.redis-cloud.com:#####`)\n1. Your `username` (`default` is the default username, otherwise find the one you setup)\n1. Your `password` (either setup through Data Access Control, or available in the `Security` section of the database\n   page.\n\nCombine the above values into a connection string and put it in your `.env` and `.env.docker` accordingly. It should\nlook something like the following:\n\n```bash\nREDIS_URL=\"redis://default:\u003cpassword\u003e@redis-#####.c###.us-west-2-#.ec2.redns.redis-cloud.com:#####\"\n```\n\nRun the [tests](#running-tests) to verify that you are connected properly.\n\n## Learn more\n\nTo learn more about Redis, take a look at the following resources:\n\n- [Redis Documentation](https://redis.io/docs/latest/) - learn about Redis products, features, and commands.\n- [Learn Redis](https://redis.io/learn/) - read tutorials, quick starts, and how-to guides for Redis.\n- [Redis Demo Center](https://redis.io/demo-center/) - watch short, technical videos about Redis products and features.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fredis-starter-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-developer%2Fredis-starter-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fredis-starter-js/lists"}