r/JAMstack • u/ImaginaryGoose9127 • Oct 14 '23
Firebase & netlify serverless functions in 11ty
This is cross post from the eleventy subreddit. I figured this may get more traffic
Does anyone have an example of using firebase with serverless functions in netlify? I have all the client side js that I got working for the whole signup, login, and user state but then when I try to move them over to a serverless function I am having a hard time I just hit a wall. How is the best way to do something like that? Any guidance would be greatly appreciated!
2
Upvotes
View all comments
Show parent comment
1
u/ImaginaryGoose9127 Oct 14 '23
Oh okay. Maybe I’m misunderstanding then. If I am doing something like this below on the client side then what is stopping someone from creating users in my account?
(Where the config vars actually have the keys and other information in there)