A RESTful API example for simple todo application with Go
It is a just simple tutorial or example for making simple RESTful API with Go using gorilla/mux (A nice mux library)
# Download this project
go get github.com/geekCyberWarrior/REST_API_Golang
Before running API server, you should set the database config with yours or set the your database config with the right values in main.go
# Build and Run
cd REST_API_Golang
go build
./students
# API Endpoint : http://127.0.0.1:12345
GET
: Get all students' listPOST
: Create a new Student
GET
: Get specific student by name
PUT
: Update specific student by name
DELETE
: Delete specific student by name