Skip to content

Use environment variables for API KEY and PROJECT ID #14

Open
@avinashupadhya99

Description

@avinashupadhya99

Using environment variables for API KEY and PROJECT ID makes it not secure but also makes it easy for people wanting to try out this project. There can be a .env.example file which has empty values for the environment variables. The person setting up the project can just cp .env.example .env and fill in the appropriate values.

Activity

harshmathurx

harshmathurx commented on Oct 5, 2021

@harshmathurx

I think we should add an example.env file with empty values
I would like to help

tejasborde

tejasborde commented on Oct 14, 2021

@tejasborde

@avinashupadhya99 can you please explain this issue.Like i have used the .env file in my projects. About .env.example can you explain in detail please ?

avinashupadhya99

avinashupadhya99 commented on Oct 15, 2021

@avinashupadhya99
Author

The .env.example file is an example .env file that would contain all the names of the environment variables necessary for .env. Here's an example -

APPWRITE_ENDPOINT=
APPWRITE_PROJECT_ID=
APPWRITE_API_KEY=

This is used as a reference to creating the .env since the .env file will not be commited to the repo.

MSVelan

MSVelan commented on Oct 26, 2022

@MSVelan

I would like to help out with this issue. Can you assign it to me?

nikhilbuts

nikhilbuts commented on Oct 26, 2022

@nikhilbuts

@avinashupadhya99 Can you Please assign me this issue? I will do that.

linked a pull request that will close this issue on Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @nikhilbuts@avinashupadhya99@harshmathurx@tejasborde@MSVelan

      Issue actions

        Use environment variables for API KEY and PROJECT ID · Issue #14 · appwrite/playground-for-node