Skip to content

Restful API DESA bahasa Indonesia built with laravel

Notifications You must be signed in to change notification settings

Amar-arruf/REST-API-Desa

Repository files navigation

Desa API

Restful API DESA bahasa Indonesia built with laravel

Usage

  1. Clone this repository

    git clone https://github.com/Amar-arruf/REST-API-Desa.git
  2. Install dependecies (composer)

      composer install
  3. Start the development environment

    php artisan serve
  4. setting DB .env with following:

      DB_CONNECTION=mysql
      DB_HOST=127.0.0.1
      DB_PORT=3306
      DB_DATABASE=api_desa
      DB_USERNAME=root
      DB_PASSWORD=
  5. this case , project will use library laravolt indonesia reatrivat data , please following setup with laravolt,

  6. visit http://localhost:8000

Documentation

API PATH = http://localhost:8000/api/
postman colletction : https://documenter.getpostman.com/view/11362142/2sA2r6WPbm

All Desa

Get Latest Desa , Method GET

/api/desa

example : http://localhost:8000/api/desa

specific Desa

Get Specific, Method GET

/api/desa/[id]

example : http://localhost:8000/api/desa/1

update Desa

update Desa, Method PUT

/api/desa/[id]

example : http://localhost:8000/api/desa/1

Delete Desa

Method DELETE

/api/desa/[id]

example : http://localhost:8000/api/desa/1

About

Restful API DESA bahasa Indonesia built with laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages