Development:
Set environment variables in .env
Production (with GitHub workflow and Firebase hosting):
Set environment variables as secrets on the repo and update .github/workflows/firebase-hosting-merge.yml
.
REACT_APP_PAYPAL_CLIENT_ID
REACT_APP_FIREBASE_API_KEY
REACT_APP_FIREBASE_AUTH_DOMAIN
REACT_APP_FIREBASE_PROJECT_ID
REACT_APP_FIREBASE_STORAGE_BUCKET
REACT_APP_FIREBASE_MESSAGING_SENDER_ID
REACT_APP_FIREBASE_APP_ID
REACT_APP_FIREBASE_DATABASE_URL
REACT_APP_RECAPTCHA_SITE_KEY
REACT_APP_GOOGLE_PLACES_API_KEY
Via GitHub workflow: (See instructions above for configuring env variables as repo secrets.)
Or:
npm run build
firebase deploy --only hosting
Simple registration / admissions sales site for contra dance events.
Built in React.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.