First clone the repo:
git clone https://github.com/gcxchange-gcechange/react-landing-page.git
Update the .env
file with your API endpoints:
process.env.REACT_APP_DEV_DOMAIN_URL= #Domain API endpoint
process.env.REACT_APP_DEV_DOMAIN_KEY= #Key
process.env.REACT_APP_DEV_DEPART_URL= #Department API endpoint
process.env.REACT_APP_DEV_DEPART_KEY= #Key
process.env.REACT_APP_DEV_SEND_URL= #Register API endpoint
process.env.REACT_APP_DEV_SEND_KEY= #Key
process.env.REACT_APP_MAINTENANCE_MODE= #Is the App in maintenance (bool)
Then run:
yarn install
yarn start
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify