Skip to content

Latest commit

 

History

History
75 lines (41 loc) · 1.75 KB

File metadata and controls

75 lines (41 loc) · 1.75 KB

Server [ GO [Gorilla] ]

Table of Contents

Libraries

Go Workspaces

Authentication

Payment

API Documentation

CI/CD

NOTE

Libraries

Router - Gorilla

Installation

go get github.com/gorilla/mux

Logging - Zap

Installation

go get -u go.uber.org/zap

Live Reloading - Air

Installation

go install github.com/air-verse/air@latest

Docs - https://github.com/air-verse/air/

Authentication

Resources : Authentication Types and Techniques - Medium.com - Aly Ragab

The template uses OAuth authentication with Google, and Github preimplemented, to implement other OAuth flow follow official docs from the providers website. Also implementation of JWT ( JSON Web Tokens ), Magiclink, and SSO ( Single Sign On ) is available in the auth module.

Payment

Razor pay integration is available for payment processing, and validation.

API Documentation - Swaggo

Linting - Golangci-lint

Remote Repository Config

GitHub

GitLab

Go workspaces

Resources : Go Workspaces: Simplifying Mutli-Modular Projects - Medium.com - Sabbir Ahmed | Tutorial: Getting started with multi-module workspaces

NOTE

AGENTS.md - is a copy of the go best practices for agentic development used in the Air project by air-verse.

All git commit messages must follow Conventional Commits for both human and machine readable.