This is a simple middleware used for passing through requests for the Marvel Comic Search app.
- PORT - The port to listen on
- DEVELOPMENT - Specify any value to allow all origins
- MARVEL_ENDPOINT - The target for API requests (should be
gateway.marvel.com
) - MARVEL_PRIVATE_KEY - Your API private key
- MARVEL_PUBLIC_KEY - Your API public key
- FRONTEND_URL - The URL of the frontend (to allow CORS)