{"id":22912648,"url":"https://github.com/wzalazar/spotify","last_synced_at":"2025-05-09T02:09:23.563Z","repository":{"id":39096594,"uuid":"95587231","full_name":"wzalazar/spotify","owner":"wzalazar","description":"Spotify - GraphiteJS","archived":false,"fork":false,"pushed_at":"2024-10-25T16:29:42.000Z","size":3476,"stargazers_count":21,"open_issues_count":46,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-24T20:59:58.011Z","etag":null,"topics":["graphitejs","graphql","nextjs","nodejs","react","redux","redux-observable","spotify"],"latest_commit_sha":null,"homepage":"https://spotify-demo.now.sh/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wzalazar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-06-27T18:11:01.000Z","updated_at":"2023-08-15T16:33:33.000Z","dependencies_parsed_at":"2023-10-01T17:21:52.754Z","dependency_job_id":"3f984cd9-dbac-48d8-af0e-d36dbc532421","html_url":"https://github.com/wzalazar/spotify","commit_stats":null,"previous_names":["w4llydev/spotify","wzalazar/spotify"],"tags_count":101,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzalazar%2Fspotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzalazar%2Fspotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzalazar%2Fspotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzalazar%2Fspotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wzalazar","download_url":"https://codeload.github.com/wzalazar/spotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229664965,"owners_count":18104016,"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":["graphitejs","graphql","nextjs","nodejs","react","redux","redux-observable","spotify"],"created_at":"2024-12-14T04:29:29.313Z","updated_at":"2024-12-14T04:29:29.998Z","avatar_url":"https://github.com/wzalazar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/wzalazar/spotify/tree/master)\n\n\n# Spotify GraphiteJS\n\nExample with GraphiteJS, framework graphql. In this example, you will able to search an artist, select artist, select album, and play the preview track.\n\n\u003cbr /\u003e\n\n## How to use\n\nDownload the example [or clone the repo](https://github.com/wzalazar/spotify):\n\n\nInstall it and run:\n\n```bash\nnpm install\nnpm run start:dev\n```\n\n```bash\nyarn\nyarn start:dev\n```\n\n**URL default http://localhost:3000**\n\n\u003cbr /\u003e\n\n## Demo\n\nLatest deploy [view](https://spotify-graphitejs-scbvotbkhb.now.sh)\n\n\u003cbr /\u003e\n\n## Stack technology\n\n  1. NextJS [View](https://github.com/zeit/next.js/)\n  2. React [View](https://github.com/facebook/react)\n  3. Redux [View](https://github.com/reactjs/redux)\n  4. Redux Observable [View](https://github.com/redux-observable/redux-observable)\n  4. GraphiteJS [View](https://github.com/graphitejs/graphitejs)\n\n\n\u003cbr /\u003e\n\n\n## Architecture\n\n  The design the architecture is [here](https://github.com/wzalazar/spotify/blob/master/.uml/architecture.png)\n\n\u003cbr /\u003e\n\n## Commands\n\n```bash\n\nyarn **command**\n\n```\n\n\n| Command          | Description                                                                           |\n| ---------------- |:--------------------------------------------------------------------------------------|\n| test             | Run all test                                                                          |\n| coverage         | Report coverage the all files. Terminal or folder in .coverage/lcov-report/index.html |\n| lint             | Linting project                                                                       |  \n| start            | Run project production, required build                                                |  \n| start:dev        | Run project development                                                               |\n| build            | Generate build                                                                        |\n\n\u003cbr /\u003e\n\n## GraphQl\n\nCan you check the [graphiql](https://spotify-graphitejs-scbvotbkhb.now.sh/graphiql)\n\n### Queries\n\n```bash\n\nquery getArtist($artist: String!) {\n    artist(name: $artist) {\n        _id\n        name\n    }\n}\n\nquery getAlbum($album: String!) {\n    album(name: $album) {\n        _id\n        name\n    }\n}\n\nquery getTrack($track: String!) {\n    track(name: $track) {\n        _id\n        name\n    }\n}\n\nquery getTracksByAlbum($albumId: String!) {\n    tracksByAlbumId(id: $albumId) {\n        _id\n        name\n    }\n}\n\n\n```\n\n### Variables\n\n```bash\n\n{\n  \"artist\": \"Shakira\",\n  \"album\": \"show\",\n  \"track\": \"Hi\",\n  \"albumId\": \"2cWBwpqMsDJC1ZUwz813lo\"\n}\n\n```\n\n\u003cbr /\u003e\n\n\nDeploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))\n\n```bash\nnow\n```\n\n\u003cbr /\u003e\n\n## License\n\n[MIT](https://github.com/babel/babel/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzalazar%2Fspotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwzalazar%2Fspotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzalazar%2Fspotify/lists"}