golang-starrer

command module
v0.0.0-...-e87969f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 8 Imported by: 0

README

Go/Gin PostgreSQL Starter Application

This is a starter application built with Go, the Gin web framework, and PostgreSQL. This project serves as a template for building RESTful APIs with a focus on best practices.

Table of Contents

Prerequisites

Make sure you have the following installed on your machine:

  • Go Version >= 1.20
  • PostgreSQL
  • Git
  • (Optional) Docker

Change the .env file on your requirements

Installation & Usage

  1. Clone this repository:
    git clone https://github.com/arnabtechie/golang-starrer.git
    cd golang-starrer
    go mod tidy
    go run main.go
    
  2. For building
    go build
    
  3. Use air for auto detection of file changes
    go install github.com/cosmtrek/air@latest
    air
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controllers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL