Questions
Make CRUD (Create, Read, Update, Delete) REST API with format Application/JSON using Phalcon Framework & MariaDB Database for patient data in hospital.
Patient Field : id, name, sex, religion, phone, address, nik
Response Body:
{
"status": {
"code": 200, // berdasarkan http status yang di inginkan https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
"response": "success", // fill this with success/failed/error
"message": "Example of success update data",
"result": {
// fill this with data if not showing the data please let this blank
}
}
}Make form input / CRUD (front end) using Vue.JS
- List Patient
- Detail Patient
- Update Patient
- Delete Patient
- Add Patient
Result to be send :
- Source code
- File sql generate database & table