This project is to inform you how my code style. This project build using Beego, and MySql. You also can use docker registre (https://hub.docker.com/repository/docker/asahro/test-monolit)
This project required :
- golang v 1.15
- mySql v 10.1.38 (mariaDb)
first clone project in a folder named monolite. After clone the project, you will get on folder that contant db and golang code. you also need to extract static.zip in the static folder become css, font, image, js and style.css
you didnt need to install db, because i use external remote db. but you can see my table design from db file
first runing golang
go run main.go
if there any dependency needed, install them using
go get git-url
You can change db setting using from config/app.config
appname = monolit
httpport = 8080
runmode = dev
db.host = 45.84.204.205
db.port = 3306
db.user = u877696391_test
db.password = 4Hmad-sahro
db.name = "u877696391_test"
db.charset = utf8mb4
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.