Step:1 git clone https://github.com/loftywaif002/catasys-assessment-app.git
Step:2 cd catasys-assessment-app
step:3 npm install
step:3 npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
- Currently all logic is in App.js, we should separate components into different files for reusability
- App is not connected to any database, it is using local state array to store patient history, a database should be used for persistency
- Error boundaries can be used to implement Client side validation check user input on all fields an show error on the UI in a user friendly manner when user input is not acceptable
- Unit test can be implemented for each modulec / component.
- Cypress can be used to automate end-to-end user functionality.
Once patient fills out symptoms and current health concerns text area, they can use add to history button to add to add to to their history, since we are not using any persist database right now.