Skip to content

Datvvan/affiliate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Affiliate Backend

1. Prerequisites:

  • Golang

2. Install dependencies:

$ go mod download

3. Create file app.env from app.env.example

  cp .env.example .env.local

4. Update .env.local file

5. Database Migration Guide

 (for local env)
$ make migrate_database

5.1 create migration file

 (for local env)
$ migrate create -ext sql -dir db/migrations/ -seq {migration name}

6. Running the app

# development
$ go run cmd/main.go

Navigate to your host to check the server is online.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published