In order to keep environment variables safe, an Express server will need to be set up which will have an endpoint to serve the Pexels API key. This will also require some kind of authentication to ensure the API key is only sent to authorized users. CORS will probably also be needed.
In order to keep environment variables safe, an Express server will need to be set up which will have an endpoint to serve the Pexels API key. This will also require some kind of authentication to ensure the API key is only sent to authorized users. CORS will probably also be needed.