Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 493 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 493 Bytes

go 1.22.3
A login api written in Go, GIN and GORM using Sqlite3 as data source. The middelware uses JWT and cookies for authentication.


Usage:

  • clone the reposetory
  • cd into go-login-api
  • Execute: go run .
  • data/app.db and .app will be created on first run
  • First user to sign up will be admin

Before release:

  • Remeber to set GIN_MODE="release" in .app

  • Set https=0 if you want to run http

  • Hope you enjoy it. Good luck!