OpenMRS

GoLang-3: Clean Architecture

NOTE: You should have completed GoLang-2 task.

Using the same repository, create a new branch and follow the task steps at https://gist.github.com/f4ww4z/db919414c34275831988ce954d940f7e#golang-3-clean-architecture

You should return all errors so that it can be shown in the json response, if there is any. E.g. {"message": <error_message>}

Commit message should be GCI-<gci-id>: <your_message>

Submission steps

  1. Your PR link
  2. 6 screenshots showing the responses in Postman:
    • /patients , /patients/:id
    • /locations, /locations/:id
    • /hospitals , /hospitals/:id

pretty format.

References

Task tags

  • golang
  • go
  • backend

Students who completed this task

Nayan, riskycase, Ribhav Sharma, prathamesh_m009

Task type

  • code Code
close

2019