mernkit
  • MERNKIT
  • Features
  • Tech Stack
  • Installation
  • Back-end
    • Application Structure
    • Environmental Variables
    • Google and Facebook Auth
    • API
    • Deployment
  • Front-end
    • Application Structure
    • Environmental Variables
    • Deployment
    • Other Resources
Powered by GitBook
On this page

Was this helpful?

  1. Front-end

Environmental Variables

In designing MERNKIT I wanted the platform to be as plug and play as possible. Therefore, the setup is almost entirely managed by setting environmental variables. For development, you will edit the .env file. For production you will edit the .env.production file. I will share documentation on how to setup MERNKIT on AWS at the end of the section.

Your .env file will contain the following empty variables that must be filled out. I will put descriptions where your variable value should go.

REACT_APP_BACKEND_URL=http://localhost:5000
REACT_APP_COOKIEDOMAIN=localhost
REACT_APP_STRIPE=STRIPE PUBLIC KEY

PreviousApplication StructureNextDeployment

Last updated 4 years ago

Was this helpful?