KontakAPI

command module
v0.0.0-...-0093ca0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 8 Imported by: 0

README

Kontak Fiber (Go) and MongoDB REST API

An API built with Fiber and MongoDB.

API Usage

Main URL / Endpoint : https://go-kontak-2997a9d9d62c.herokuapp.com

Get all Contact
  GET /kontak
Get by id Contact
  GET /kontak/{id}
Add Contact
  POST /insert
{
  "nama_kontak": "Si Ujang",
  "nomor_hp": "68123456789",
  "alamat": "Sumedang",
  "keterangan": "Teman"
}

Edit Contact
  PUT /update/{id}
{
  "nama_kontak": "Si Asep",
  "nomor_hp": "61235156431231",
  "alamat": "Bandung",
  "keterangan": "Keluarga"
}

Delete Contact
  DELETE /delete/{id}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL