Open
Description
This is a task for @ericarao to put all of the concepts that she and I have been overviewing to action. This API will be used by the Angular and React/Redux applications to edit/read basic patient information as well as edit/add/delete/get contact information.
Tasks
- Create a Postgres database with the tables and their relations
- Select/setup a Java REST web framework (Spark, Spring Boot, Play, etc)
- Create entities and repositories using an ORM
- Set up the /api/patient/{pid}/basic and /api/patient/{pid}/contact endpoints
- Set up controllers
- Set up services
- Write unit tests
- Enhance Maven to check for style issues
- Enhance Maven to generate unit test coverage reports
- Add application logging
- Add comment documentation as needed
- Introduce an /api/auth endpoint with token based sessions (can make more fancy later)
- Deploy to Heroku
- Create tickets for the Angular and React/Redux applications to use the REST api