/netlify-secrets-demo-app

Demo app which demonstrates how to securely access environment variables using netlify functions

Primary LanguageHTML

Netlify Secrets Demo

This app was created using create-react-app. It is for demonstrating how to store netlify secrets.

How to run the app locally

To run the app locally on your machine, follow the steps below:

  1. Clone the app to your local machine using the command git clone.
  2. Run the command npm install to install dependencies.
  3. Create .env file at the root of the project directory. Copy and paste the contents of example.env file. Set the value of the environment variable REACT_APP_TODO_BASE_URL to "https://jsonplaceholder.typicode.com/todos" for the purpose of this demonstration.