I recently developed a form authentication application that required an API key in order for users to gain access to the backend. It was suggested that I keep my API key in a dotenv file. I went ahead and completed this because I had never previously...

Markdown supported · ⌘↵ to post
Hi Chisom. I just wanted to say that your article rescued my life after hours of changing my code and getting tons of errors. Thank you very much and good luck!
Taís Massaro
hi Chisom, I just found your post while trying to understand how to inject env variables since that can only happen after the application is built by Vite in our case. do you have any experience with that? how do you add the production .env files to your application?