Giter Club home page Giter Club logo

netlify-secrets-demo-app's Introduction

Netlify Secrets Demo

This app was created using create-react-app. It is for demonstrating how to store netlify secrets. It is part of the article how to access secret API keys using netlify functions in a react app which was published on freeCodeCamp. It is recommended you run this project while reading through the article to derive maximum benefit from it.

If you have any questions, feel free to open an issue here. I will be more than happy to help.

How to run the app locally

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

  1. Fork this project under your own account.

  2. Clone the forked project to your local machine using the command below. Do not forget to replace GITHUB_USER_NAME with your GitHub username.

    git clone https://github.com/GITHUB_USER_NAME/netlify-secrets-demo-app.git
    

    or

    git clone [email protected]:GITHUB_USER_NAME/netlify-secrets-demo-app.git
    
  3. Run the command npm install to install dependencies.

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

  5. Start the development server by running the command npm start.

License

MIT

Deployment

Netlify Status

netlify-secrets-demo-app's People

Contributors

nibble0101 avatar jaybuidl avatar

Watchers

 avatar

Forkers

tumtum23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.