public API untuk mengakses wilayah Indonesia (provinsi, kabupaten/kota, kecamatan, kelurahan/desa)
Dokumentasi ini menjelaskan cara mengakses layanan API
GET [baseurlapp]/v1/provinces
GET [baseurlapp]/v1/province/{id_province}
GET [baseurlapp]/v1/regencies/{id_province}
GET [baseurlapp]/v1/regency/{id_regency}
GET [baseurlapp]/v1/districts/{id_regency}
GET [baseurlapp]/v1/district/{id_district}
GET [baseurlapp]/v1/vilagges/{id_district}
GET [baseurlapp]/v1/village/{id_vilagge}
GET [baseurlapp]/search/{query}
Clone - download the project, then locate to parent directory
npm install
npm run dev
Look at your terminal, and there should be a message that the "API is listening on port 3000". For this development stage [baseurlapp] = http://localhost:300