- M2082044 - Nur Imam Masri
- M2242154 - Rafkah Rizqia
- A0131304 - Dian Arisma Wicakso
- A0141345 - I Made Ari Widiarsana
- C2242155 - Nurul Uswatun Hasanah
- Project Plan (M2082044 - Nur Imam Masri)
- UI/UX (C2242155 - Nurul Uswatun Hasanah, M2242154 - Rafkah Rizqia)
- Build Machine Learning Model (M2082044 - Nur Imam Masri, M2242154 - Rafkah Rizqia)
- Android Development (A0131304 - Dian Arisma Wicakso, A0141345 - I Made Ari Widiarsana)
- Deployment Application (C2242155 - Nurul Uswatun Hasanah)
This project is our final project for Google Bangkit Academy 2021.
Machine Learning: DocBot-ML
Android: DocBotApp
- ML-API Deployment
- Health-Info
- Disease Info
- Fruits and Vegetables Info
- Covid Info
- Health Unit (Puskesmas, Rumah Sakit, ...)
Deploy use : Cloud Run Google CLoud Flatform
URL : https://docbotml-api-**********-et.a.run.app
Method : GET
Auth required : NO
Condition : If everything is OK.
Code : 200
Content example
Application is working
URL Diseases : https://docbotml-api-**********-et.a.run.app
URL Fruits Vegetables : https://docbotml-api-**********-et.a.run.app/process
Method : POST
Auth required : NO
Data must provided
Provide image to be predict with key "img".
Data example All fields must be sent.
const formdata = new Formdata()
formdata.append("img" , <image file>)
body : formdata
Condition : If everything is OK.
Code : 200
Content example
{
"result": "banana"
}
- faizan170/tensorflow-image-classification-flask-deployment
- how-to-deploy-a-simple-flask-app-on-cloud-run-with-cloud-endpoint
get data health info for covid
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/covidinfo
Method : GET
Auth required : NO
No Data must provided
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Covid",
"icon": "https://storage.googleapis.com/health-info/Covid19/covid19.jpg",
"article": [
{
"id": 1,
"name": "Peta Sebaran COVID-19",
"image": "https://storage.googleapis.com/health-info/Covid19/peta%20sebaran.jpg",
"desc": "https://covid19.go.id/peta-sebaran"
},
{
"id": 2,
"name": "Ayah-Bunda Waspada! Infeksi Covid-19 pada Anak-anak Menggila",
"image": "https://storage.googleapis.com/health-info/Covid19/waspada%20covid%20pada%20anak.jpeg",
"desc": "https://www.cnbcindonesia.com/news/20210605172649-4-250827/ayah-bunda-waspada-infeksi-covid-19-pada-anak-anak-menggila",
},
...
],
},
get all articles for Covid19
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/covidinfo
Method : POST
Auth required : NO
Data must provided
Provide CATEGORY to be search.
Data example All fields must be sent.
{
"category": "Covid"
}
Condition : If everything is OK.
Code : 200
Content example
[
{
"id": 1,
"name": "Peta Sebaran COVID-19",
"image": "https://storage.googleapis.com/health-info/Covid19/peta%20sebaran.jpg",
"desc": "https://covid19.go.id/peta-sebaran"
},
{
"id": 2,
"name": "Ayah-Bunda Waspada! Infeksi Covid-19 pada Anak-anak Menggila",
"image": "https://storage.googleapis.com/health-info/Covid19/waspada%20covid%20pada%20anak.jpeg",
"desc": "https://www.cnbcindonesia.com/news/20210605172649-4-250827/ayah-bunda-waspada-infeksi-covid-19-pada-anak-anak-menggila",
},
{
"id": 3,
"name": "Standar amannya, pembelajaran tatap muka saat pandemi berakhir tapi...",
"image": "https://storage.googleapis.com/health-info/Covid19/tatap%20muka.jpg",
"desc": "https://nasional.kontan.co.id/news/standar-amannya-pembelajaran-tatap-muka-saat-pandemi-berakhir-tapi",
},
...
]
get data health info for diseases
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/disease_info
Method : GET
Auth required : NO
No Data must provided
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Conjunctivitis",
"id": 1,
"icon": "https://storage.googleapis.com/health-info/disease/conjunctivitis.jpg",
"article": [
{
"id": 1,
"name": "7 Pink Eye Symptoms You Shouldn’t Ignore",
"image": "https://storage.googleapis.com/health-info/disease/1.jpg",
"desc": "https://www.thehealthy.com/eye-care/pink-eye-symptoms/",
},
...
],
},
{
"name": "Cataracts",
"id": 2,
"icon": "https://storage.googleapis.com/health-info/disease/katarak.jpg",
"article": [
{
"id": 1,
"name": "When Should an Individual Have Cataract Surgery?",
"image": "https://storage.googleapis.com/health-info/disease/katarak1.jpg",
"desc": "https://visionaware.org/your-eye-condition/cataracts/considering-cataract-surgery/",
},
...
],
},
...
get all data articles diseases for ONE category
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/disease_info
Method : POST
Auth required : NO
Data must provided
Provide CATEGORY to be search.
Data example All fields must be sent.
{
"category": "Cataracts"
}
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Cataracts",
"id": 2,
"icon": "https://storage.googleapis.com/health-info/disease/katarak.jpg",
"article": [
{
"id": 1,
"name": "When Should an Individual Have Cataract Surgery?",
"image": "https://storage.googleapis.com/health-info/disease/katarak1.jpg",
"desc": "https://visionaware.org/your-eye-condition/cataracts/considering-cataract-surgery/",
},
{
"id": 2,
"name": "A Visual Guide to Cataracts",
"image": "https://storage.googleapis.com/health-info/disease/katarak2.jpg",
"desc": "https://www.webmd.com/eye-health/cataracts/ss/slideshow-cataracts",
},
{
"id": 3,
"name": "Cataracts",
"image": "https://storage.googleapis.com/health-info/disease/katarak3.jpg",
"desc": "https://www.mayoclinic.org/diseases-conditions/cataracts/symptoms-causes/syc-20353790",
},
],
},
get data health info for fruits and vegetables
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/fruitvege_info
Method : GET
Auth required : NO
No Data must provided
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Banana",
"id": 1,
"icon": "https://storage.googleapis.com/health-info/fruitandvege/banana.jpg",
"article": [
{
"id": 1,
"name": "11 Evidence-Based Health Benefits of Bananas",
"image": "https://storage.googleapis.com/health-info/fruitandvege/10.jpg",
"desc": "https://www.healthline.com/nutrition/11-proven-benefits-of-bananas"
},
...
],
},
{
"name": "Apple",
"id": 2,
"icon": "https://storage.googleapis.com/health-info/fruitandvege/apple.jpg",
"article": [
{
"id": 1,
"name": "10 Impressive Health Benefits of Apples",
"image": "https://storage.googleapis.com/health-info/fruitandvege/apple%201.jpg",
"desc": "https://www.healthline.com/nutrition/10-health-benefits-of-apples",
},
...
],
},
...
get all data articles fruits and vegetables for ONE category
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/fruitvege_info
Method : POST
Auth required : NO
Data must provided
Provide CATEGORY to be search.
Data example All fields must be sent.
{
"category": "Apple"
}
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Apple",
"id": 2,
"icon": "https://storage.googleapis.com/health-info/fruitandvege/apple.jpg",
"article": [
{
"id": 1,
"name": "10 Impressive Health Benefits of Apples",
"image": "https://storage.googleapis.com/health-info/fruitandvege/apple%201.jpg",
"desc": "https://www.healthline.com/nutrition/10-health-benefits-of-apples",
},
{
"id": 2,
"name": "6 possible side effects of eating too many apples",
"image": "https://storage.googleapis.com/health-info/fruitandvege/apple%202.jpg",
"desc": "https://timesofindia.indiatimes.com/life-style/health-fitness/diet/6-possible-side-effects-of-eating-too-many-apples/photostory/80363064.cms",
},
{
"id": 3,
"name": "An Apple a Day Keeps the Doctor Away — Fact or Fiction?",
"image": "https://storage.googleapis.com/health-info/fruitandvege/apple%203.jpg",
"desc": "https://www.healthline.com/nutrition/an-apple-a-day-keeps-the-doctor-away",
},
],
},
get data health info for unit kesehatan
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/unit_kesehatan
Method : GET
Auth required : NO
No Data must provided
Condition : If everything is OK.
Code : 200
Content example
{
"name": "Unit Kesehatan",
"icon": "https://storage.googleapis.com/health-info/unitkesehatan/puskesmas.jpg",
"article": [
{
"id": 1,
"name": "Puskesmas Jati Makmur",
"image": "https://storage.googleapis.com/health-info/unitkesehatan/jatimakmur.jpg",
"address": "JL. Raya Klayan, Kel. Jati Makmur Kec. Pondok Gede, Komplek Jatiwaringin Asri, RT.003/RW.017, Jatimakmur, Kec. Pondokgede, Kota Bks, Jawa Barat 17413",
"contact":"+622184994466",
},
{
"id": 2,
"name": "PHC UPTD Jatibening",
"image": "https://storage.googleapis.com/health-info/unitkesehatan/jatibening.jpg",
"address": "Jalan Amarilis, RT. 2 / RW. 12 Pondok Gede Jatibening Pondokgede RT.009, RT.009/RW.012, Jatibening, Kec. Pondokgede, Kota Bks, Jawa Barat 17412",
"contact":"+6281291851844",
},
...
],
},
get all bio unit kesehatan
URL : https://asia-southeast2-light-maker-******.cloudfunctions.net/unit_kesehatan
Method : POST
Auth required : NO
Data must provided
Provide CATEGORY to be search.
Data example All fields must be sent.
{
"category": "Unit Kesehatan"
}
Condition : If everything is OK.
Code : 200
Content example
[
{
"id": 1,
"name": "Puskesmas Jati Makmur",
"image": "https://storage.googleapis.com/health-info/unitkesehatan/jatimakmur.jpg",
"address": "JL. Raya Klayan, Kel. Jati Makmur Kec. Pondok Gede, Komplek Jatiwaringin Asri, RT.003/RW.017, Jatimakmur, Kec. Pondokgede, Kota Bks, Jawa Barat 17413",
"contact":"+622184994466",
},
{
"id": 2,
"name": "PHC UPTD Jatibening",
"image": "https://storage.googleapis.com/health-info/unitkesehatan/jatibening.jpg",
"address": "Jalan Amarilis, RT. 2 / RW. 12 Pondok Gede Jatibening Pondokgede RT.009, RT.009/RW.012, Jatibening, Kec. Pondokgede, Kota Bks, Jawa Barat 17412",
"contact":"+6281291851844",
},
{
"id": 3,
"name": "puskesmas Jatirahayu",
"image": "https://storage.googleapis.com/health-info/unitkesehatan/jatirahayu.jpg",
"address":"Jl. Poris Raya, RT.001/RW.018, Jatirahayu, Kec. Pd. Melati, Kota Bks, Jawa Barat 17414",
"contact":"+62218488737",
},
...
]
Condition : If category is empty.
Code : 401
Content
{
"message": "category tidak boleh kosong"
}
Condition : If category not faound.
Code : 404
Content
{
"message": "category tidak ditemukan"
}
Condition : If something wrong.
Code : 404