Skip to content

Added proxy link in react's package.json and added login api code in … #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prasadpise
Copy link

…index.js of node server. Also added api calling code from react for login api in App.js

…index.js of node server. Also added api calling code from react for login api in App.js
@prasadpise prasadpise requested a review from oisinq March 4, 2019 19:02
@@ -23,5 +23,6 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"proxy": "http://193.1.131.26:8888/"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine for now, we should look for generalisation and not hard code any values for that matter


// use the access token to access the Spotify Web API
request.get(options, function(error, response, body) {
console.log(body);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we just want to print the body and its internals on the console, probable TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants