SAG React Web App | Frontend Respository
Ensure that npm is installed. Can check using this command:
npm version
Above command will show the current versions of libraries installed.
Ensure that:
npmversion is8.*.*or greaternodeversion is16.*.*or greater If not, please updatenpmandnode.
-
Install dependencies.
npm i -
Install husky
pre-commitandpre-pushhooks.npx husky install -
Copy the contents of the sample environment variable file(.env.sample) file present in
configfolder to a new file.env.development.localin the same folder. -
Run the app.
npm run start
git remote add upstream https://github.com/SAG-Web-Devs/sag-react-fe.git
To push any changes regarding a task assigned in JIRA follow the following steps:
Create a branch from development branch in the following format:
JIRA-ID-task-description (eg. SWA-47-fix-lint-check-github-actions-not-working)
The PR title should also contain JIRA task id in the following format:
[JIRA-ID] (eg. [SWA-47])
Please ensure you commits contain meaningful messages.