Skip to content

AritraDey-Dev/DAuth-backend-v2

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 89.8%
  • Shell 8.1%
  • Dockerfile 2.1%