forked from SherRao/MuSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sidebar and page container not working side by side.
Fix ESLint config with linebreak errors. Add Spotify Web API Node module. Add Spotify test code.
- Loading branch information
Showing
10 changed files
with
226 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
4 | ||
], | ||
"linebreak-style": [ | ||
1, | ||
"off", | ||
"unix" | ||
], | ||
"quotes": [ | ||
|
@@ -44,4 +44,4 @@ | |
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ keys | |
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
config.json |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import SpotifyWebApi from "spotify-web-api-node"; | ||
|
||
const api = new SpotifyWebApi( | ||
{ | ||
clientId: "1e4ee4e30b23405d8643d058642dffaf", | ||
clientSecret: "8ab0151237234a22877c4e644fa1b433", | ||
redirectUri: "https://muspace.me/spotify-callback" | ||
} | ||
); | ||
|
||
async function test() { | ||
console.log("Testing test()"); | ||
const response = await api.getArtistAlbums("43ZHCT0cAZBISjO8DG9PnE"); | ||
console.log(response.body); | ||
return response.body; | ||
|
||
} | ||
|
||
export default { test }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import Firebase from "./Firebase"; | ||
import Spotify from "./Spotify"; | ||
|
||
export default Firebase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.