https://github.com/piasy/beegotddbootstrap
bootstrap repo for api server develop based on beego framework
https://github.com/piasy/beegotddbootstrap
Last synced: 3 months ago
JSON representation
bootstrap repo for api server develop based on beego framework
- Host: GitHub
- URL: https://github.com/piasy/beegotddbootstrap
- Owner: Piasy
- License: mit
- Created: 2015-08-13T07:21:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T15:40:54.000Z (over 9 years ago)
- Last Synced: 2025-01-10T16:14:17.904Z (5 months ago)
- Language: JavaScript
- Size: 215 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BeegoTDDBootStrap
A bootstrap project for TDD using beego framework.## Dev tips
+ modify the `.ci/prepare_db.sh`, `.ci/clean_db.sh`, `conf/app.conf` files, to configure your DB.
+ create `logs` dir, and touch `orm.log`, then run `bee run`.
+ TDD steps
+ understand your demand
+ design API, write API docs, design test cases
+ write API test in `tests` package
+ design and implement API, modify test cases if need
+ if other classes/functions are needed during implementing API, follow the same step as above
+ CI support (manually)
+ install mysql
+ modify the `.ci/prepare_db.sh`, `.ci/clean_db.sh`, `conf/app.conf` files, to configure your DB.
+ execute `.ci/ci.sh` to check
+ Change namespace
+ Open this project with IntelliJ IDEA
+ Use global search/replace, substitute `github.com/Piasy/BeegoTDDBootStrap` into the proper gopath string, e.g. `github.com/Piasy/HabitsAPI`