Our goal is to continuously improve the quality and accessibility of public healthcare services using digital tools.
Auto deployed to care.ohn.foundation for develop
branch. All pull requests have preview builds powered by Netlify.
Getting started
- 💬 Comment on the issue if you are willing to take it up, and link the pull request with the issue.
- 🏷️ Tag
@ohnfoundation/care-fe-code-reviewers
for faster resolution. - 📸 Attach screenshots in the pull requests showing the changes made in the UI.
Install the required dependencies
npm install
First-time setup
For first-time setup, run the following command to generate the pluginMap and install plugin configurations:
npm run setup
🏃 Run the app in development mode
npm run dev
Once the development server has started, open localhost:4000 in your browser. The page will be automatically reloaded when you make edits and save. You will also see any lint errors in the console.
🔑 Staging API Credentials
Authenticate to staging API with any of the following credentials
- username: devdistrictadmin
password: Coronasafe@123
role: Administrator
- username: staffdev
password: Coronasafe@123
role: Nurse
- username: doctordev
password: Coronasafe@123
role: Doctor
Testing
To ensure the quality of our pull requests, we use a variety of tools:
- Automated E2E Testing: We use Cypress for end-to-end testing to automatically verify the functionality and performance of our code.
- Manual Real Device Testing: We use BrowserStack to manually test our code on real devices, ensuring compatibility and functionality across different platforms and browsers.
Languages
TypeScript
99.1%
JavaScript
0.5%
CSS
0.3%
HTML
0.1%