Skip to content

zarszz/discussion-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discussion API

golang version

  • 1.5

library requirements

  • gin
  • gorm
  • godotenv

Installation

  • define your .env file in root project
  1. define CONN_STRING in .env file, for example :
        CONN_STRING="user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai"
  2. define LISTEN_PORT in .env file, for example :
        LISTEN_PORT=":8080"
  3. running docker-compose
        $~ docker-compose up --build -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published