Skip to content

implement dotenv to keep api-key secret#28

Open
vtiede wants to merge 1 commit into
mainfrom
extract-api-key
Open

implement dotenv to keep api-key secret#28
vtiede wants to merge 1 commit into
mainfrom
extract-api-key

Conversation

@vtiede

@vtiede vtiede commented Aug 21, 2022

Copy link
Copy Markdown
Collaborator

Hi everyone! I want to have this project as something I can show in future tech interviews. For that I extracted the Google maps api key so that not everyone has access to it and only the people I share it with. Also, people can use their own google maps api key then.
For the code to work, you need to create a .env file in the root folder that contains your API key in the format of:

GOOGLE_API_KEY=your_api_key

That should be it!

@vtiede vtiede requested a review from miette4l August 21, 2022 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant