Skip to content

Cexup-Team/wilayah_indonesia_service

Repository files navigation

Servis Wilayah Indonesia

Kode dan Data Wilayah Administrasi Pemerintahah Indonesia sesuai Permendagri No 72 Tahun 2019 (dgn pembaruan data berdasarkan Kepmendagri No.146.1-4717 Tahun 2020).

GitHub license GitHub issues

Project Structure

.
├── app                        # Configuration file (include `connection`)
├── controller                 # Controller files
├── helper                     # Helper function
├── model                      # Model files (alternatively `entities`)
├     └── domain                
├     └── web                
├── repository                 # Repository files (alternatively `persistence`)
├── services                   # Services files (`business logic`)
├── main
├── readme
└── tests

Database

This service using "MySql" to stored wilayah indonesia has been searched by user.

Endpoint

To connected to this endpoint please ensure your base_url is "localhost:3000" or you can adjust your own port in main.go file

Get provinsi ( GET )

{base_url}/provinsi

Show by wilayah_id ( GET )

{base_url}/wilayah/:wilayah_id

Note

if you face an error when building this service:

error obtaining vcs status: exec: "git": executable file not found in $path use -buildvcs=false to disable vcs stamping.

you must delete your .git configuration file and then try again

About

Kode dan Data Wilayah Administrasi Pemerintahah Indonesia

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages