This is the public REST API for NEBENG, So Developers can contribute here to build other NEBENG aplication for other Platform such as for MAC OS, WINDOWS, iOS etc.
NEBENG (Nemu-Bengkel) is an application to find the nearest car workshop and motorcycle workshop. When your vehicle is damaged in transit, you don't know where it is closest to repairing it. Nebeng is the solution.
We have develop NEBENG for android. You can check our previous repo here https://github.com/sogatanco/nemu-bengkel
This Application build using Codeigniter 3.1.1 Framework
So you found a bug? Or perhaps you just want to improve something? Patches are welcome!
TOKEN : 1234567
- Login and Register
API | Method | Url | Required |
---|---|---|---|
login | POST | /api/login/ | email,pass, token |
admin login | POST | /api/login/admin | username,pass, token |
register | POST | /api/register | email, pass, token |
- General
API | Method | Url | Required |
---|---|---|---|
get bengkel | GET | /api/general/bengkel | token, pemilik, kategori, id |
get user | GET | /api/general/user | token, email |
get ulasan | GET | /api/general/ulasan | token, idbengkel |
TOKEN : private
- Profil
API | Method | Url | Required |
---|---|---|---|
update profil | PUT | /api/editprofil | token, nama, hp, jk, pekerjaan, profil |
update pass | PUT | /api/editprofil/password | token, lama, baru |
delete akun | POST | /api/editprofil | token |
- Bengkel
API | Method | Url | Required |
---|---|---|---|
add bengkel | POST | /api/bengkel | token, nama, desc, foto, telpon, long, lat, layanan, day, time, kategori |
update bengkel | PUT | /api/bengkel | token, id, nama, desc, foto, telpon, long, lat, layanan, day, time, kategori |
delete bengkel | POST | /api/bengkel | token, id |
view bengkel | GET | /api/bengkel | token,id |
- Ulasan
API | Method | Url | Required |
---|---|---|---|
add ulasan | POST | /api/ulasan | token, ulasan, rating, idbengkel |
delete ulasan | DELETE | /api/ulasan | token, id |
TOKEN : private
API | Method | Url | Required |
---|---|---|---|
view unapprove bengkel | GET | /api/admin/viewbengkel | token |
approve bengkel | PUT | /api/admin/approvebengkel | token, idbengkel |
delete ulasan | DELETE | /api/admin/deleteulasan | token. id |
delete bengkel | DELETE | /api/admin/deletebengkel | token, id |
delete user | DELETE | /api/admin/deleteuser | token, id |