Skip to content

Built an MVC API using Go language to perform basic CRUD operations on a MySQL database table

Notifications You must be signed in to change notification settings

SK7here/Go-MVC-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC API using GO

USER REFERENCE

Run the Go_MVC_main.go file

Task URL Method Response Code Response
Check API health /SK7server/ GET 200 API alive
Insert an entry /SK7server/insert/ POST 201 {Status}
Read All Entries /SK7server/readAll GET 200 json of all entries
Read entries by id /SK7server/readbyid/?id=value GET 200 json of entries that match id
Delete entries by id /SK7server/delete/id DELETE 200 {Status}

Sample of the table used for illustration

name todo
Kailash First operation
SK7 Second operation

About

Built an MVC API using Go language to perform basic CRUD operations on a MySQL database table

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages