{"id":23213181,"url":"https://github.com/srijan-d/spotifybackend-nodejs","last_synced_at":"2025-10-09T00:09:03.220Z","repository":{"id":54502710,"uuid":"518314929","full_name":"Srijan-D/SpotifyBackend-Nodejs","owner":"Srijan-D","description":"Spotify backend NodeJS code built on top of spotify-web-api-node wrapper that allows users to search for any song via name, artist, playlist etc. Authorization, validating cookie session, generation of access tokens and regenerating them using the refresh tokens.","archived":false,"fork":false,"pushed_at":"2023-04-21T22:35:26.000Z","size":393,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T04:09:21.153Z","etag":null,"topics":["express","music","nodejs","react","spotify","spotify-api","spotify-web-api-node","spotify-wrapper-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/Srijan-D.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":"2022-07-27T04:59:52.000Z","updated_at":"2025-01-26T19:35:02.000Z","dependencies_parsed_at":"2024-12-18T19:15:24.227Z","dependency_job_id":"f02d8d63-a94a-4f4a-90e4-f3060e1ecd45","html_url":"https://github.com/Srijan-D/SpotifyBackend-Nodejs","commit_stats":null,"previous_names":["srijan-d/spotifybackend-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srijan-D%2FSpotifyBackend-Nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srijan-D%2FSpotifyBackend-Nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srijan-D%2FSpotifyBackend-Nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srijan-D%2FSpotifyBackend-Nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Srijan-D","download_url":"https://codeload.github.com/Srijan-D/SpotifyBackend-Nodejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437724,"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":["express","music","nodejs","react","spotify","spotify-api","spotify-web-api-node","spotify-wrapper-api"],"created_at":"2024-12-18T19:15:15.950Z","updated_at":"2025-10-09T00:08:58.185Z","avatar_url":"https://github.com/Srijan-D.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n  \u003ch1\u003eNode.js Backend Spotify Clone\u003c/h1\u003e\n  \u003cp\u003eA web API for a Spotify clone built with Node.js and the Spotify Web API Node wrapper.\u003c/p\u003e\n  \u003cp\u003e Spotify backend clone built on top of Node.js and the spotify-web-api-node wrapper. The main goal of this project is to provide a backend for a music streaming service that allows users to search for and play songs, as well as save their favorite tracks and playlists.\u003c/p\u003e\n\u003cbr\u003e\n  \u003ch2\u003eGetting Started\u003c/h2\u003e\n  \u003col\u003e\n    \u003cli\u003eClone the repository.\u003c/li\u003e\n    \u003cli\u003eRun \u003ccode\u003enpm install\u003c/code\u003e to install dependencies.\u003c/li\u003e\n    \u003cli\u003eCreate a \u003ccode\u003e.env\u003c/code\u003e file in the root directory and add your Spotify API credentials:\u003c/li\u003e\n    \u003cli\u003eStart using!\u003c/li\u003e\n  \u003c/ol\u003e\n  \u003cpre\u003e\n    SPOTIFY_CLIENT_ID=your_client_id\n    SPOTIFY_CLIENT_SECRET=your_client_secret\n  \u003c/pre\u003e\n  \u003ch2\u003eObtaining a Client ID and Client Secret\u003c/h2\u003e\n    \u003cp\u003eTo use the Spotify Web API, you need to register your application with Spotify and obtain API credentials, which consist of a client ID and client secret. Here are the steps:\u003c/p\u003e\n    \u003col\u003e\n      \u003cli\u003eLog in to the \u003ca href=\"https://developer.spotify.com/dashboard/\"\u003eSpotify Developer Dashboard\u003c/a\u003e using your Spotify account.\u003c/li\u003e\n      \u003cli\u003eClick the \"Create an App\" button and fill in the required information, such as the app name, description, and website.\u003c/li\u003e\n      \u003cli\u003eOnce you've created the app, you will be redirected to its dashboard. Here you will find your client ID and client secret under the \"Client ID\" and \"Client Secret\" sections, respectively.\u003c/li\u003e\n      \u003cli\u003eCopy your client ID and client secret and use them in your Node.js application as environment variables (e.g. in a .env file).\u003c/li\u003e\n    \u003c/ol\u003e\n  \u003ch2\u003eUsage\u003c/h2\u003e\n  \u003cp\u003eStart the server with \u003ccode\u003enpm start\u003c/code\u003e. The server will run on port 3000 by default.\u003c/p\u003e\n  \u003cp\u003eAPI routes:\u003c/p\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ccode\u003eGET /search\u003c/code\u003e: Search for tracks, albums, or artists.\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eGET /tracks/:id\u003c/code\u003e: Get detailed information about a track by its Spotify ID.\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eGET /albums/:id\u003c/code\u003e: Get detailed information about an album by its Spotify ID.\u003c/li\u003e\n    \u003cli\u003e\u003ccode\u003eGET /artists/:id\u003c/code\u003e: Get detailed information about an artist by their Spotify ID.\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cp\u003eAll the songs along with their lyrics can be searched using the search bar on top of the page\u003c/p\u003e\n  \n  \u003ch2\u003eContributing\u003c/h2\u003e\n  \u003cp\u003eContributions are welcome! Please open a pull request with your changes.\u003c/p\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijan-d%2Fspotifybackend-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrijan-d%2Fspotifybackend-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijan-d%2Fspotifybackend-nodejs/lists"}