This project is a Go Fiber Starter template that includes ORM (Object-Relational Mapping), authentication, and JWT (JSON Web Token) features. With this starter, you can quickly and easily develop a secure and high-performance Go application.
How To Installation?
Getting Started
Follow these steps to get started with the Go Fiber Starter Template Docs
- Golang
- Go Fiber
- GORM
- x crypto bcrypt |
Method | Route | QUERY |
---|---|---|
POST | http://localhost:8000/login | QUERY |
POST | http://localhost:8000/register | QUERY |
GET | http://localhost:8000/users | QUERY |
GET | http://localhost:8000/users/{id} | QUERY |
POST | http://localhost:8000/users | QUERY |
DELETE | http://localhost:8000/users/{id} | QUERY |
PUT | http://localhost:8000/users/{id} | QUERY |
git clone https://github.com/rafia9005/GoLuva
cd GoLuva
go mod tidy
go run main.go
APP_DATABASE = "mysql://username:password@tcp(localhost:3306)/database_name?charset=utf8mb4&parseTime=True&loc=Local"
APP_PORT = "3000"
APP_SECRET = "your-very-secure-secreet"