Skip to content

TheMorgz/books-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub go.mod Go version

Books-List Go API

Go REST API;

  • Lessons Learned:

Create a model from Golang's struct type and a slice to add records to.

Create a router and register to it api endpoints and handler functions.

Build handler functions to do CRUD operations.

Create a Postgres database instance and a table to save records.

Establish a connection to the database and query the table for records as well as insert, update and delete individual records.

Build the handler functions to make queries to the database and perform CRUD operations on persistent data.

Make use of packages such as gorilla/mux, strconv, reflect and etc.

About

Go REST API Implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published