Skip to content

Use environment variables for API KEY and PROJECT ID #14

Open

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

  1. harshmathurx commented on Oct 5, 2021

    @harshmathurx

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

  2. 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 ?

  3. 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.

  4. MSVelan commented on Oct 26, 2022

    @MSVelan

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

  5. nikhilbuts commented on Oct 26, 2022

    @nikhilbuts

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

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

      No branches or pull requests

      Issue actions