Skip to content

Setup Java REST API #59

Open
Open
@MatthewVita

Description

@MatthewVita

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions