Wellcome to CubebooK Project
-
Setup #############################
- Install VS Code
- Install extension ESLint, Prettier, Vetur
- Tabsize: 2 space
- Remove space end line
- Install golang: https://golang.org/
- Install Postgres
-
Project info #################################
- Project manager: Minh Phụng - 1208
- Version: 1.0
- Back-end API
- Language: Golang
- Core: Fiber
- Database: Postgres
- Year: 2023
- Link demo:
-
Usage #############################
- Create file .env from .env.dist
- Config info connect Database
- On command line project run: go mod init api -> go mod tidy
- Run Project:
- $ go run main.go
- $ go run .
- Document:
- Install and document package: https://github.com/gofiber/swagger
- CMD install: go install github.com/swaggo/swag/cmd/swag@latest
- CMD Build Doc: swag init
- path /document/index.html
-
Git #############################
- Pull new code before doing task
- Push code:
- If Screen: screen_id. Ex MSGS0001
- If issue: issuecode.
- Other task: name_develop. Ex nam_develop
-
Version/ Function #############################
- 2023-03-05: Init Source.
If error or any bug please contact: Chatwork minhphung@vn-cubesystem.com
Thanks for README