templateGolangGinGorm

Template Strcuture Project using Golang with Gin and Gorm (MySQL / PostgreSql)

Installation

  1. Open file .env
  2. Change DB_NAME, DB_USERNAME, DB_PASSWORD, DB_PORT with your database setting
  3. run
go run server.go

To do

  • ✔️ Create Function Create User
  • ✔️ Create Function Update User
  • ✔️ Create Function Delete User
  • ✔️ Create Function Login User with JWT
  • ✔️ Create Middleware - Create JWT
  • ✔️ Create Middleware - Auth JWT

Note

✔️ is Complete
✅ is not done