repositorypackage
0.0.0-20240116165557-925089ed82a6
Repository: https://github.com/delta/dauth-backend-v2.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
DAuth-Backend-v2
Requirements
Setup
-
Configure .vscode/settings.json
{ "go.lintTool":"golangci-lint", "go.lintFlags": [ "--fast" ], "go.lintOnSave": "package", "go.formatTool": "goimports", "go.useLanguageServer": true, "[go]": { "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": true } }, "go.docsTool": "gogetdoc" }
-
Enable githooks
git config core.hooksPath .githooks
-
Create .env file
cp .env.example .env
-
Install reflex
go install github.com/cespare/reflex@latest
-
Configure database settings in config.json
Run with Reflex
-
reflex -s -r '\.go$$' go run main.go
Run
-
go run main.go