gorest
Go RESTful API starter kit with Gin, JWT, GORM (MySQL, PostgreSQL, SQLite), Redis, Mongo, 2FA, email verification, password recovery
File Explorer
Download Latest Version (.zip)- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- bug_report.md
- feature_request.md
- codeql-analysis.yml
- dependency-review.yml
- go.yml
- golangci-lint.yml
- dependabot.yml
- pull_request_template.md
- config.go
- config_internal_test.go
- config_test.go
- database.go
- email.go
- getConfig.go
- logger.go
- security.go
- server.go
- view.go
- auth.go
- login.go
- logout.go
- passwordReset.go
- twoFA.go
- verification.go
- autoMigrate.go
- auth.go
- auth_test.go
- common.go
- httpResponse.go
- twoFA.go
- twoFA_test.go
- common_test.go
- dbClose_test.go
- dbConnect.go
- dsn_test.go
- export_test.go
- mongo_test.go
- mongoIndex.go
- redis_test.go
- sql_test.go
- tls.go
- tls_test.go
- apiStatus.go
- hobby.go
- playgroundBasicAuth.go
- playgroundMongo.go
- playgroundRedis.go
- post.go
- query.go
- user.go
- autoMigrate.go
- errorMsg.go
- hobby.go
- playgroundMongo.go
- playgroundRedis.go
- post.go
- user.go
- userHobby.go
- hobby.go
- playgroundMongo.go
- playgroundRedis.go
- post.go
- user.go
- setupRouter.go
- error.html
- read-article.html
- .env.sample
- main.go
- .env.sample
- main.go
- migrate.go
- address.go
- errorMsg.go
- hobby.go
- kv.go
- post.go
- user.go
- userHobby.go
- address.go
- common.go
- health.go
- hobby.go
- kv.go
- post.go
- user.go
- address.go
- auth.go
- hobby.go
- kv.go
- post.go
- user.go
- router.go
- address.go
- hobby.go
- kv.go
- post.go
- user.go
- README.md
- auth.go
- login.go
- logout.go
- passwordReset.go
- twoFA.go
- verification.go
- cors.go
- cors_test.go
- firewall.go
- firewall_test.go
- ginpongo2.go
- ginpongo2_test.go
- jwt.go
- jwt_test.go
- origin.go
- origin_test.go
- rateLimit.go
- rateLimit_test.go
- sentry.go
- sentry_test.go
- twoFA.go
- twoFA_test.go
- render.go
- render_internal_test.go
- render_test.go
- shutdown.go
- shutdown_test.go
- encryption.go
- encryption_test.go
- export_test.go
- file.go
- file_test.go
- hashing.go
- hashing_argon2.go
- hashing_argon2_test.go
- hashing_test.go
- htmlEmailModel.go
- htmlEmailModel_test.go
- img.go
- img_test.go
- img_unix_test.go
- randomNumber.go
- randomNumber_test.go
- rateLimit.go
- rateLimit_test.go
- removeAllSpace.go
- removeAllSpace_test.go
- twoFA.go
- twoFA_test.go
- validateEmail.go
- validateEmail_test.go
- README.md
- auth.go
- common.go
- postmark.go
- security.go
- twoFA.go
- twoFALimiter.go
- .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 RecommendedPrerequisites
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
Was this content helpful?
(0 ratings)
