Git Product home page Git Product logo

arifikhsan / wilayah_indonesia_rails Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 4.0 2.51 MB

Menampilkan daftar provinsi, kota, kecamatan dengan GraphQL untuk membuat form isian alamat.

Home Page: https://wilayah-indonesia.herokuapp.com/

Ruby 80.54% JavaScript 5.31% CSS 0.95% HTML 12.84% SCSS 0.36%
indonesia data dataset rest-api graphql wilayah-indonesia wilayah-administratif wilayah restful-api graphql-server

wilayah_indonesia_rails's Introduction

REST API Wilayah Indonesia dengan GraphQL

Wilayah Indonesia GraphQL - RESTFul API wilayah Indonesia dengan GraphQL | Product Hunt

Menampilkan daftar provinsi, kota, kecamatan dengan GraphQL untuk membuat form isian alamat. ๐Ÿ”ฅ

https://wilayah-indonesia.herokuapp.com/

Demo GraphiQL

https://wilayah-indonesia.herokuapp.com/graphiql

Endpoint graphql

https://wilayah-indonesia.herokuapp.com/graphql

Cara Pakai

Pilih Semua Provinsi

query {
  provinces {
    id
    name
  }
}

Semua kota/kabupaten

query {
  regencies {
    id
    name
  }
}

Semua kota/kabupaten berdasarkan id provinsi

query {
  regenciesByProvince(provinceId: 33) {
    id
    name
  }
}

Semua kecamatan

query {
  districts {
    id
    name
  }
}

Semua kecamatan berdasarkan id kota/kabupaten

query {
  districtsByRegency(regencyId: 3308) {
    id
    name
  }
}

Sumber Data

https://github.com/edwardsamuel/Wilayah-Administratif-Indonesia

wilayah_indonesia_rails's People

Contributors

arifikhsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.