/SurrealAuth

Golang auth system with GoFiber and SurrealDb 👌

Primary LanguageGo

SurrealAuth

Golang auth system with GoFiber and SurrealDb

Primarily

In this project I wrote an authentication system using gofiber and surrealdb, you can use it by filling the requirements and use it as a reference for your projects.

Packages I used in the project

  • color - color library for console messages
  • go-fiber - http framework
  • surrealdb - database package
  • jwt - json webtoken
  • ini - configuration file manager

Installation

To install packages

 go mod tidy

SurrealDb download and launch

macos: brew install surrealdb/tap/surreal
linux: curl  -sSf https://install.surrealdb.com |  sh
windows: iwr https://windows.surrealdb.com -useb  | iex

Start Command: surreal start --user root --pass root

Support

I would be very happy if you star 😀