/Go-Backend-Template

A free go backend template with implemented authentication, without globals.

Primary LanguageGoMIT LicenseMIT

Go Backend with Auth

This is a simple backend using Basic Authentication and auth middlewares.

Currently only supporting MySQL/MariaDB.

Its free to use, and licensed under the MIT License.

The project is still in development, and will be updated as I go.

Currently there are only group scopes integrated, but I will be adding user scopes soon.

Installation

  1. Clone the repository
  2. Run go get to install the dependencies
  3. Edit the .env file to your needs
  4. Run go build to build the project
  5. Run go run main.go to run the project