Navigation Menu

Skip to content

Piasy/BeegoTDDBootStrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

bootstrap repo for api server develop based on beego framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published