Skip to content
Compare
Choose a tag to compare
@ghostzali ghostzali released this 05 May 09:09
· 41 commits to master since this release

First release... yeah!!!

Restful API | Service-based | Produce standalone API service with JSON.

Database updated at Oct 16, 2016 { Provinsi, Kota/Kabupaten, Kecamatan, dan Kelurahan/Desa }

Data ini diambil dari situs Pemutakhiran MFD dan MBS Badan Pusat Statistik pada 16 Oktober 2016. Wilayah Administratif Indonesia @ Github.com | Apr 27, 2017

Features :

A. Generally

  1. Search (/search?keyword=<your keyword>)

B. Provinces

  1. List all (/province/all)
  2. Select with code (/province/one?code=<province code>)
  3. Search in provinces (/province/search?keyword=<your keyword>)

C. Regencies

  1. List all (/regency/all)
  2. Select with code (/regency/one?code=<regency code>)
  3. Search in regencies (/regency/search?keyword=<your keyword>)
  4. List in specific province (/regency/parent?code=<province code>)

D. Districts

  1. List all (/district/all)
  2. Select with code (/district/one?code=<district code>)
  3. Search in districts (/district/search?keyword=<your keyword>)
  4. List in specific regency (/district/parent?code=<regency code>)

E. Villages

  1. List all (/village/all)
  2. Select with code (/village/one?code=<village code>)
  3. Search in villages (/village/search?keyword=<your keyword>)
  4. List in specific district (/village/parent?code=<district code>)

Installations

Using Gradle

Build $ gradle build and then $ java -jar build/libs/area-indonesia-1.0.jar
or run directly using spring boot plugin $ gradle bootRun

Using Docker

Build $ docker build -t area-indonesia:1.0 . and then $ docker start area-indonesia:1.0

Documentations

Version 1.0