a. Checkout develop branch with "git checkout develop"
b. Create new branch from master with "git checkout -b 'feature/<new-branch-name>'" or 'bug/<new-branch-name>'
c. Add changes
d. Commit `git commit -m "message"`
e. Push `git push`
To learn, check out the How to Create Pull Requests.
First Run for Development?
RUN
1. npm install
2. npm run firebase:local
3. npm run localdev
npm run firebase:local
will configure and start the Firebase emulator suite.
On your first run, you will need to open the emulator suite and add yourself as a user.
Any data you modify will be saved locally for future use.
In the project directory, you can run:
npm run livedev
Dev server will run which will watch if any file changes and updates instantly.
npm run localdev
Will start the live development server preconfigured with the environment information needed to connect to the Firebase emulators.
npm run firebase:local
Configures the Firebase emulator suite for local development and starts the emulators.
npm run prod
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!
npm run lint
Launches the ESlinter to show errors.
npm run cypress
Launches the test runner in the interactive watch mode.
npm run test
Launches the test runner locally in CLI.
npm run recordtest
Launches the test runner in the Cypress Cloud Dashboar
npm run devdeploy
Deploy to Dev Environmentnpm run stagingdeploy
Deploy to Staging Environmentnpm run deploy
Deploy to Productiongcloud functions deploy helloGET --runtime nodejs8 --trigger-http
Deploy Cloud FunctionJSDocumentation is Available at Chalk Docs. You can learn more about webpack at Webpack. To learn React, check out the React documentation. To learn Cypress, check out the Cypress documentation.