japananh / lift-tracker-api

Practice clean architecture with REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lift Tracker API

Installation

You need Go installed and set your Go workplace first. For editor, I recommend goland or vscode.

# Create a .env file
cp .env.template .env
# Run this project
go run main.go

In Vscode, simply create a launch.json file in a .vscode folder, paste the content below, and run debugger.

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "go",
      "request": "launch",
      "name": "Launch Program",
      "skipFiles": [
        "<node_internals>/**"
      ],
      "program": "${workspaceFolder}/main.go",
      "envFile": "${workspaceFolder}/.env"
    }
  ]
}

About

Practice clean architecture with REST API


Languages

Language:Go 100.0%