belaczek / hodlwatch

Simple, yet powerful web app for automatic cryptocurrency portfolio tracking
https://hodl.watch
MIT License
120 stars 26 forks source link

Where can I find your proxy code? #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

I would like to confirm the code for this proxy. https://hodlwatch-proxy.herokuapp.com/ thanks

belaczek commented 6 years ago

Hi, sorry for late answer. It is this one https://github.com/belaczek/cors-anywhere. Feel free to deploy your own instance.

ghost commented 6 years ago

How to run the app successfully and safely? I run the app using npm run test But it is not working even in both cases, using proxy or not. "Error while trying to connect to exchange. Please check your credentials and try again." credentials are correct.

belaczek commented 6 years ago

If I understand it correctly, you want to run both the app and cors server locally. To do so you have to first start the cors server, which will be in default running on 0.0.0.0:8080. To access it from within the app (running also locally), use http://localhost:8080/ as proxy url (including the last / slash). Let me know if that helps.

ghost commented 6 years ago

Yes It is working. Thank you.