Join Slack
Powered by
I added an example on how to create a simple click...
# guide
j
Jay
06/22/2021, 6:15 PM
I added an example on how to create a simple click counter with React. It uses
the new `sst.StaticSite` construct
. And the backend is an API with DynamoDB. Check it out!
https://serverless-stack.com/examples/how-to-create-a-reactjs-app-with-serverless.html
j
J
07/09/2021, 11:52 AM
1.
@Jay
Thanks for the example. If I am deploying a React App to S3 and the app has sensitive config such as STRIPE_KEY, then how do I protect the sensitive config if I am not deploying my React app via Netify.
j
Jay
07/09/2021, 6:01 PM
So the Stripe key (like in this chapter
https://serverless-stack.com/chapters/add-stripe-keys-to-config.html
), is still available on the client side. Even if it is deployed through Netlify. Hope that makes sense.
j
J
07/10/2021, 4:05 AM
Thanks
@Jay
3
Views
Open in Slack
Previous
Next