Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clinton-mwachia/go-starter-template

Starter template for your next GIN REST API
https://github.com/clinton-mwachia/go-starter-template

api backend gin-gonic go golang

Last synced: 13 days ago
JSON representation

Starter template for your next GIN REST API

Awesome Lists containing this project

README

        


Golang Icon

# Go-Gin Starter Template

[![Go Version](https://img.shields.io/badge/Go-1.21.4-blue.svg)](https://go.dev/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## Features
- Shemas and Models.
- Routes.
- Authentication.
- Easy integration and extensibility to fit your project requirements.
- Files Upload.
- Pagination

## 🛠️ Built with:

- [Go](https://go.dev/)
- [Gin](https://gin-gonic.com/)

## Getting Started

Follow these steps to get the project up and running on your local machine.

1. Clone this repository using `git clone https://github.com/clinton-mwachia/Go-starter-template.git`.
2. create a `.env` file and add the following variables

- DB =
- PORT=
- SECRET=

2. Install dependencies using `go get .`.
3. Start the development server with `go run main.go`.