gorest

(β˜… 503)

Go RESTful API starter kit with Gin, JWT, GORM (MySQL, PostgreSQL, SQLite), Redis, Mongo, 2FA, email verification, password recovery

  • .env.sample
  • .gitattributes
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • codecov.yml
  • context7.json
  • CONTRIBUTING.md
  • doc.go
  • go.mod
  • go.sum
  • LICENSE
  • llms.txt
  • README.md
  • SECURITY.md
  • setTestEnv.sh

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/pilinux/gorest

Downloads the entire project code from GitHub to your computer.

cd gorest

Moves into the project folder you just downloaded.

2. Go

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
GOOS=linux GOARCH=arm64 go build

Compiles the Go program into an executable.

GOOS=linux GOARCH=amd64 go build

Compiles the Go program into an executable.

GOOS=darwin GOARCH=arm64 go build

Compiles the Go program into an executable.

GOOS=darwin GOARCH=amd64 go build

Compiles the Go program into an executable.

GOOS=windows GOARCH=arm64 go build

Compiles the Go program into an executable.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

Pulled directly from this repo's README.

// repository documentation