This is the frontend repo for KKMNOW. KKMNOW is a collaboration between the Ministry of Health Malaysia and the Department of Statistics Malaysia to institutionalise transparency and make data accessible for all.
Please use yarn
to manage dependencies.
# NPM
git clone [email protected]:moh-malaysia/kkmnow-front.git
yarn install
yarn prepare
cp .env.example .env
# Start development server
yarn dev
# Build production app
yarn build
# Start production server
yarn start
# Setup husky for githook
yarn prepare
- Branch out from
main
& give the new branch a descriptive name eg:feat/covid
,fix/dropdown-bug
etc. - After you're done debveloping,
git fetch && git merge origin/main
to synchronize any new changes & resolve conflicts, if there is any. - Push the branch to remote and create a PR. Briefly describe the changes introduced in the PR.
- Assign another developer to peer review and approve.
- That's all. Happy working
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.