OBJECTIVE

This is a simple tutorial on how to structure a golang RestFul API structure. It also provides a wrapper around the Gin web framework to easily create and manage an HTTP server with route registration and reusable components.

Features

  • Start and stop the HTTP server gracefully.
  • Register individual routes.
  • Register grouped routes with middleware support.
  • Example Endpoint to register and retrieve users details.

Getting Started

You need to install the following

  1. Golang
  2. Postgress Database In a production environment, do not forget to include a gitignore file.