Skip to content

An API that manages doctors details and their addresses

Notifications You must be signed in to change notification settings

volunux/doctor-seam-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*Doctor Seam Health

An API that manages Doctors details and their address

List of API Route and Definition

NOTE: All Request should have an Accepts and Content-Type header with the value application/json

Api Url is (Seam Health Consult)[https://obscure-springs-41531.herokuapp.com/]

{id} is a placeholder or variable that should be replace with an Long value during request

Route Http Method Description Sample Body Options
/ GET API Entry
api/doctor/entries GET Retrieve all records ?email=value
api/doctor/detail/{id} GET Retrieve single record
api/doctor/remove/{id} GET Remove record
api/doctor/create POST Add new record { "firstName": "Moyegun",
"lastName": "Adeola", "emailAddress": "[email protected]",
"address": "Ademola Adetokunbo Street, Abuja",
"lga": "FCT",
"phoneNumber": "+2349022035587",
"state": "Federal Capital Territory"
}
api/doctor/update/{id} POST Update a record { "firstName": "Mayegun",
"lastName": "Ademulegun",
"emailAddress": "[email protected]",
"address": "Ademola Adetokunbo Street, Abuja",
"lga": "FCT",
"phoneNumber": "+2349022035587",
"state": "Ogun State"
}

Alternatives and Recommendations

Could use Spring Vault to hide environmental and application properties
For data access - spring jdbc, spring data jpa implementing CrudRepository or JpaRepository
For data update - @DynamicUpdate or @Query @Modifying

About

An API that manages doctors details and their addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages