Skip to content
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

How to use node packages and communicate btw client and server. #5

Open
firaskrichi opened this issue Dec 30, 2016 · 2 comments
Open

Comments

@firaskrichi
Copy link

Trying to use the stripe npm package for node and was wondering how to send data from the client (react & redux) to the server securly.

Thanks!

@lopezjurip
Copy link
Owner

lopezjurip commented Dec 31, 2016

Using a secure HTTP connection is the only way to go. You can get free certificates with https://letsencrypt.org/ and add it to Express: https://expressjs.com/en/advanced/best-practice-security.html

@firaskrichi
Copy link
Author

firaskrichi commented Dec 31, 2016

Thanks! So it would be an api right? Does that mean that it should be hosted separately?

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

No branches or pull requests

2 participants