This app was created using create-react-app. It is for demonstrating how to store netlify secrets.
To run the app locally on your machine, follow the steps below:
- Clone the app to your local machine using the command
git clone
. - Run the command
npm install
to install dependencies. - 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 variableREACT_APP_TODO_BASE_URL
to"https://jsonplaceholder.typicode.com/todos"
for the purpose of this demonstration.