🌱
dAppling documentation
  • 🌱Introduction
    • Projects and Deployments
      • Import an existing project
    • Add a domain
    • Collaborate
  • Projects
    • Project Dashboard
    • Environment Variables
  • Deployments
    • Git Integrations
      • dAppling for Github
  • Builds
    • Package managers
    • Configure a Build
    • Build Logs
    • Troubleshoot a Build
  • Domains
    • ENS
    • DNS
  • API
    • /domains
    • /domains/{domain}
    • Errors
  • FAQs
  • Community
    • Twitter
    • Github
  • Legacy Docs
    • Getting Started
      • Connect dAppling App
      • dAppling Garden
      • Deploy a New Project
      • Create Deployments
      • Configure Project Settings
      • Verify a Site CID
      • Domain Configuration
      • ENS Configuration
      • Site Analytics
      • Verify Smart Contracts
      • Frameworks
    • Learn
      • Web Hosting
      • Decentralization
      • IPFS
      • IPNS
      • Access Points
        • Domain Name System
        • Ethereum Name Service
Powered by GitBook
On this page
  • Declare an Environment Variable
  • Framework Environment Variable Documentation

Was this helpful?

  1. Projects

Environment Variables

PreviousProject DashboardNextDeployments

Last updated 1 year ago

Was this helpful?

Environment Variables are key-value pairs configured outside your source code.

Your source code can read these values to change behavior during the Build Step.

dAppling does not support server side code or functions. This means that we only support environment variables that are consumed by the frontend during the build process. These variables will therefore be public and unencrypted. All environment variable values will be visible within the build files and to any user that has access to the .

To ensure the security of your application, do not add sensitive information, such as API keys or secrets, as environment variables.

Changes to Environment Variables are not applied to previous deployments, they only apply to new deployments.

Declare an Environment Variable

To declare an Environment Variable for your deployment, go to the Environment Variables section of your Project Settings.

Most frameworks have specific requirements for the naming of environment variables. For example Create React App requires frontend env variables to be prefixed with REACT_APP_. If the variables are not named with the correct framework prefix, they will not be embedded during the build process.

Framework Environment Variable Documentation

Fun Fact: Apples belong to the rose family, Rosaceae, along with pears and plums.

🌵
Project
Create React App
NextJs
Vite
Vue