Bakar23• 140
@MajinBakar
Posted
You can use ParcelJS for example to build your static project. It will be much lighter than an Express backend.
1
Nervous Buffalo• 350
@mathieuc22
Posted
@MajinBakar Thank you for the advice!
0
A fun project !
I built a custom Express backend to hide the API key. Any way to do it another way?
@MajinBakar
Posted
You can use ParcelJS for example to build your static project. It will be much lighter than an Express backend.
@mathieuc22
Posted
@MajinBakar Thank you for the advice!
@MajinBakar
Posted
You can hide the API key with a .env file.
@mathieuc22
Posted
@MajinBakar but it’s a static site, I did it on the node backend, but how can you do it on the frontend?
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