{"id":16225902,"url":"https://github.com/bestguy/spotify-example","last_synced_at":"2025-10-28T11:37:36.978Z","repository":{"id":143418634,"uuid":"401196541","full_name":"bestguy/spotify-example","owner":"bestguy","description":"Example app using Spotify API, React, \u0026 Hooks","archived":false,"fork":false,"pushed_at":"2021-08-30T05:15:01.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T02:51:20.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bestguy.github.io/spotify-example","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/bestguy.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":"2021-08-30T02:47:27.000Z","updated_at":"2021-08-30T05:15:04.000Z","dependencies_parsed_at":"2023-07-01T22:31:21.949Z","dependency_job_id":null,"html_url":"https://github.com/bestguy/spotify-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fspotify-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fspotify-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fspotify-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fspotify-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestguy","download_url":"https://codeload.github.com/bestguy/spotify-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773744,"owners_count":20993633,"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-10-10T12:46:53.572Z","updated_at":"2025-10-28T11:37:31.943Z","avatar_url":"https://github.com/bestguy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Playlist App\n## Using TypeScript, React, \u0026 React Hooks\n\n\u003cimg width=\"798\" alt=\"Screen Shot\" src=\"https://user-images.githubusercontent.com/405608/131288534-4017e4f6-3e57-4baf-8875-0f85f72bdbad.png\"\u003e\n\n**TODOs**\n\n- [ ] Playlist storage uses localstorage and serializes the entire object returned from Spotify APIs to JSON.  Need to trim to only fields used in app.\n- [ ] `usePlaylists` hook has inconsistent function signatures, some taking Playlists, others id.  Need make consistent with ids.\n- [ ] `useFetch` is naive and does not return loading or error states.  UI should accomodate both.\n- [ ] Accessibility (a11y) is poor with most inputs missing labels, and some inputs are not in forms.\n\n---\n\n## Install\n\n`npm install`\n\n## Running\n\n`npm run dev`\n\nOpen [http://localhost:8080](http://localhost:8080)\n\nThis application uses [Vite](https://vitejs.dev) for development.\n\n## Build\n\n`npm run build`\n\nBundled application for production will be under /docs.\n\n----\n\n### Components\n\n```\n┌─────────────────────────────────┐\n│App                              │\n│  ┌──────────────────────────┐   │\n│  │Login                     │   │\n│  │ ┌────────────────────────┴─┐ │\n│  │ │PostLogin                 │ │\n│  │ │                          │ │\n│  │ │                          │ │\n│  │ │                          │ │\n│  └─┤                          │ │\n│    └──────────────────────────┘ │\n└─────────────────────────────────┘\n\n┌──────────────────────────────────────────────────────────────────────────────┐\n│PostLogin                                                                     │\n│ ┌───────────────┐  ┌───────────────────────────────────────────────────┐     │\n│ │UserPanel      │  │ShowPlaylist                                       │     │\n│ │               │  │  ┌────────────────────────────────────────────────┴──┐  │\n│ │               │  │  │NowPlaying                                         │  │\n│ │               │  │  │  ┌─────────────────────────────────────────────┐  │  │\n│ │               │  │  │  │ShowTrack                                    │  │  │\n│ │               │  │  │  │                                             │  │  │\n│ └───────────────┘  │  │  │                                             │  │  │\n│ ┌───────────────┐  │  │  │                                             │  │  │\n│ │Playlists      │  │  │  │                                             │  │  │\n│ │               │  │  │  │                                             │  │  │\n│ │               │  │  │  │                       ┌───────────────────┐ │  │  │\n│ │               │  │  │  │                       │AddToPlaylist      │ │  │  │\n│ │               │  │  │  │                       │                   │ │  │  │\n│ │               │  │  │  │                       │                   │ │  │  │\n│ │               │  │  │  │                       │                   │ │  │  │\n│ │ ┌───────────┐ │  │  │  │                       │                   │ │  │  │\n│ │ │AddPlaylist│ │  │  │  │                       └───────────────────┘ │  │  │\n│ │ │           │ │  │  │  │                                             │  │  │\n│ │ └───────────┘ │  └──┤  └─────────────────────────────────────────────┘  │  │\n│ └───────────────┘     └───────────────────────────────────────────────────┘  │\n└──────────────────────────────────────────────────────────────────────────────┘\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestguy%2Fspotify-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestguy%2Fspotify-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestguy%2Fspotify-example/lists"}