server

module
v0.0.0-...-2717cb5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT

README

Server

Go Rest Api Starter

Just a minimal golang rest api starter with some basic stuff I always seem to add.

Included

Version go 1.21.5

  • dependency injection with Fx
  • config using Viper
  • ping / account / auth controllers
  • password hasher / matcher
  • paseto token maker + middleware
  • app.env, .air.toml, .gitignore
  • usefull Makefile
Packages
  • github.com/aead/chacha20poly1305
  • github.com/brianvoe/gofakeit/v6
  • github.com/gin-gonic/gin
  • github.com/google/uuid
  • github.com/o1egl/paseto
  • github.com/spf13/viper
  • github.com/stretchr/testify
  • go.mongodb.org/mongo-driver
Usage
  • See make help for available commands.
Resources
Usage

Just clone it, do a search and replace for oluijks/golang-starter/server, adjust app.env, do a make air and you're good to go.

Directories

Path Synopsis
api
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳