{"id":21706614,"url":"https://github.com/luizcalaca/node-redis-cache-spotify-api","last_synced_at":"2026-04-08T11:32:33.836Z","repository":{"id":125674592,"uuid":"581652559","full_name":"luizcalaca/node-redis-cache-spotify-api","owner":"luizcalaca","description":"Node.js + Redis + Spotify API + Caching data","archived":false,"fork":false,"pushed_at":"2022-12-23T21:00:12.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:29:30.701Z","etag":null,"topics":["docker","docker-compose","nodejs","npm-package","readme","redis","redis-cache","spotify-api"],"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/luizcalaca.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":"2022-12-23T21:00:06.000Z","updated_at":"2023-06-13T16:27:48.000Z","dependencies_parsed_at":"2023-04-18T02:42:42.273Z","dependency_job_id":null,"html_url":"https://github.com/luizcalaca/node-redis-cache-spotify-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luizcalaca/node-redis-cache-spotify-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fnode-redis-cache-spotify-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fnode-redis-cache-spotify-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fnode-redis-cache-spotify-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fnode-redis-cache-spotify-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizcalaca","download_url":"https://codeload.github.com/luizcalaca/node-redis-cache-spotify-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizcalaca%2Fnode-redis-cache-spotify-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"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":["docker","docker-compose","nodejs","npm-package","readme","redis","redis-cache","spotify-api"],"created_at":"2024-11-25T22:13:20.711Z","updated_at":"2026-04-08T11:32:33.795Z","avatar_url":"https://github.com/luizcalaca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis to cache Rock music from Spotify API\n\nhandling Rock music data with cache and make faster to access.\n\n## Spotify API\n\n- [DOC](https://developer.spotify.com/console/get-recommendations/)\n\n## Technologies\n\n- [Node.js](https://nodejs.org/en/)\n- [Express](https://expressjs.com/)\n- [Nodemon](https://nodemon.io/)\n- [Docker](https://www.docker.com/docker-community)\n- [Docker-Compose](https://docs.docker.com/compose/install/)\n- [Redis](https://redis.io/)\n- [Axios](https://github.com/axios/axios)\n\n## Requirement\n\n- [Docker](https://www.docker.com/docker-community)\n- [Docker-Compose](https://docs.docker.com/compose/install/)\n\n## Installation and Run\n\n1. Create a `.env` file like `.env.example` with the credentials and informations;\n2. Go to [Spotify API](https://developer.spotify.com/console/get-recommendations/) and get the token to SPOTIFY_TOKEN into .env\n3. Run `docker run --name redis -p 6973:6973 redis` or just `docker-compose up`\n4. `npm start`\n\n## Routes\n\nhttp://localhost:3000/spotify?maket=BR\u0026seed_genres=rock\n\n## Performance\n\n1. Go to developer tools in browser, look at Network and see the Time in first request and how it decrease in second because the data are cached in memory with Redis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcalaca%2Fnode-redis-cache-spotify-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizcalaca%2Fnode-redis-cache-spotify-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizcalaca%2Fnode-redis-cache-spotify-api/lists"}