bravindan / EmployeeRecordMS

0 stars 0 forks source link

adopt rest api conventions in the controller #1

Open kathukyabrian opened 9 months ago

kathukyabrian commented 9 months ago

The following can be changed in the controller

  1. Include the resource name in the controller methods i.e employer
  2. You can prepend the apis with /api - this might come in handy in the future https://www.freecodecamp.org/news/rest-api-best-practices-rest-endpoint-design-examples/
kathukyabrian commented 9 months ago

@bravindan we can work on this together

bravindan commented 9 months ago

Noted I'll do that tomorrow.

On Mon, Feb 19, 2024, 20:36 Brian Kitunda @.***> wrote:

@bravindan https://github.com/bravindan we can work on this together

— Reply to this email directly, view it on GitHub https://github.com/bravindan/EmployeeRecordMS/issues/1#issuecomment-1952933822, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUNKJVXSKVHE3DODNMX24TYUOER5AVCNFSM6AAAAABDP26BVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSHEZTGOBSGI . You are receiving this because you were mentioned.Message ID: @.***>