Make sure to push the files generated by create-react-app (which are actually required to run your application).
Without a package.json file, as well as the public folder and everything else generated by create-react-app, I can't run your application at all. I went ahead and created a dummy create-react-app app so that I can get those files, but then running a search results in the following error.
To fix this, you need to update the redirect URI for the app you registered in your Spotify developer account. Make sure you're using the same redirect URI you've used in your code.
Make sure you're providing everything your project needs to be run successfully. Other programmers and potential employers will most likely not make the effort to hunt down configuration files or replace your credentials with their own -- they'll probably just assume your project doesn't work.
Make sure to push the files generated by
create-react-app
(which are actually required to run your application).Without a
package.json
file, as well as thepublic
folder and everything else generated bycreate-react-app
, I can't run your application at all. I went ahead and created a dummycreate-react-app
app so that I can get those files, but then running a search results in the following error.To fix this, you need to update the redirect URI for the app you registered in your Spotify developer account. Make sure you're using the same redirect URI you've used in your code.
Make sure you're providing everything your project needs to be run successfully. Other programmers and potential employers will most likely not make the effort to hunt down configuration files or replace your credentials with their own -- they'll probably just assume your project doesn't work.