Skip to content

Starter code for creating a simple authentication using Go Language

Notifications You must be signed in to change notification settings

andes2912/Go-Auth-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Auth Starter

Halo ini adalah starter kit Auhtentication sederharana menggunakan bahasa pemograman Golang. Basic dalam starter ini meliputi :

  • Register
  • Login
  • Profile.

Cara Install

  • Clone Repository ini dengan cara
git clone https://github.com/andes2912/Go-Auth-Starter
  • Masuk ke directory
  • Lalu jalankan go run main.go

Documentation API

{
    "nama": "Andri Desmana",
    "phone": "12345678",
    "email": "andri@mail.com",
    "password": "testing"
}
{
    "email": "andri@mail.com",
    "password": "testing"
}

Package yang digunakan

go get github.com/joho/godotenv
go get -u github.com/golang-jwt/jwt/v5
go get -u github.com/gin-gonic/gin
go get -u gorm.io/gorm
go get -u gorm.io/driver/mysql
go get -u golang.org/x/crypto/bcrypt
go get github.com/githubnemo/CompileDaemon

About

Starter code for creating a simple authentication using Go Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages