You can try using postman
and
Database: PostgreSQL
Tools: Golang
Framework: Gin
Library: Gorm
Clone the project
git clone https://github.com/senapahlevi/Sena-JTI
Go to the project directory
cd my-project
Start the server
go run main.go
Using OAUTH0
go run main.go
and will program will Listening and serving HTTP on :3000
POST
http://localhost:3000/create
body json
{
"phone" :"08121082193",
"provide" :"telkomsel"
}
response json:
{
"id": 700,
"phone": "08121082193",
"provider": "telkomsel",
"is_odd": 1
}
-Output for see Data, Edit and Delete
-Edit
example: http://localhost:3000/output-edit/3