
Solution retrospective
Very fun project. Hoping to get some advice with localstorage and how I can use things such as .env, backend api's, etc in order to protect API Key's and other various things. Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @fazzaamiarso
Hi @Zy8712! Nice solution!
Since you use Vercel to deploy your project, you can take a look at Vercel Serverless function to create a simple API endpoint which have access to Environment Variable. Documentation Reference.
I also highly recommend you to use a bundler like Vite for your projects.
I hope it helps! Cheers!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord