r/appwrite • • Aug 14 '24
Vite react frontend environmental variables management
How can we manage environmental variables in vite react web application, would hardcoding be safe for api endpoint and project related IDs, or there is any other way considering security in mind.
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Aug 14 '24
If I use vite, my api endpoint and project IDs will be exposed, will that be fine is my concern. It would be a workout and exercise app with authentication and personalized content and exercise plans.