codaga / tranquil

Webapp for better mental health management
MIT License
1 stars 2 forks source link

Add interface to search for specialists #8 #26

Closed angularganga closed 5 years ago

angularganga commented 5 years ago

Added a text field and button. App is running fine. But the test fails (ng test). Submitting PR for review and identify the issue.

angularganga commented 5 years ago

Could we make phone, email and specialty as string[] array as @davisokoth suggested in Issue #10? Would Interface or Class be a better data type for user (specialist).

Could we use the same structure for regular users (patients) or do we need to define it as a separate interface? Most of the fields are same except for specialty. If that is the case could we rename the Specialist to something generic.

davisokoth commented 5 years ago

@angularganga we are not using the standard #angular testing configuration so ng test will not work. Try out npm run test instead`