Skip to content

Store the API key in backend #6

@mrinmay7875

Description

@mrinmay7875

You have used stored the API key in environment file so it prevents anyone from seeing the API key. But when someone uses this application and inspect in the Network tab in the browser then they can easily see the API key. You need to store the API key in the backend which will act as a proxy server and instead of sending the request to weather API from frontend directly you should send the API call from the backend that way the API key wont be exposed in the browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions