Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Create an API Application In One Minute

astaxie
August 20, 2014

Create an API Application In One Minute

Using bee & beego to simplify your API development

Outline
API features
how to achieve the goals
intro to beego
intro to bee
demo time

astaxie

August 20, 2014
Tweet

More Decks by astaxie

Other Decks in Technology

Transcript

  1. 20/8/14 8:49 am Create an API Application In One Minute

    Page 1 of 11 http://127.0.0.1:3999/Go/quick.slide#1 Create an API Application In One Minute Using bee & beego to simplify your API development astaxie Zalora
  2. 20/8/14 8:49 am Create an API Application In One Minute

    Page 2 of 11 http://127.0.0.1:3999/Go/quick.slide#1 Outline API features how to achieve the goals intro to beego intro to bee demo time
  3. 20/8/14 8:49 am Create an API Application In One Minute

    Page 3 of 11 http://127.0.0.1:3999/Go/quick.slide#1 things to consider about API documentation make the api clearly simple maintenainable performance deployment
  4. 20/8/14 8:49 am Create an API Application In One Minute

    Page 4 of 11 http://127.0.0.1:3999/Go/quick.slide#1 how to achieve these goals REFTFul API MVC comments swagger Go one binary file
  5. 20/8/14 8:49 am Create an API Application In One Minute

    Page 5 of 11 http://127.0.0.1:3999/Go/quick.slide#1 beego beego is an open-source, high-performance, modularity, full-stack web framework. beego.me (http://beego.me)
  6. 20/8/14 8:49 am Create an API Application In One Minute

    Page 6 of 11 http://127.0.0.1:3999/Go/quick.slide#1 Features RESTful support MVC architecture modularity auto API documents annotation router namespace powerful develop tools full stack for web & API
  7. 20/8/14 8:49 am Create an API Application In One Minute

    Page 7 of 11 http://127.0.0.1:3999/Go/quick.slide#1 bee Bee is a tool for managing beego framework. bee new bee api bee run bee generate bee pack bee bale
  8. 20/8/14 8:49 am Create an API Application In One Minute

    Page 8 of 11 http://127.0.0.1:3999/Go/quick.slide#1 bee version bee migrate setup API in one minute install bee: go get -u github.com/beego/bee setup api application: bee api bcloud -conn=root:@tcp\(127.0.0.1:3306\)/bcloud
  9. 20/8/14 8:49 am Create an API Application In One Minute

    Page 9 of 11 http://127.0.0.1:3999/Go/quick.slide#1
  10. 20/8/14 8:49 am Create an API Application In One Minute

    Page 10 of 11 http://127.0.0.1:3999/Go/quick.slide#1 FAQ Thank you astaxie Zalora http://github.com/astaxie (http://github.com/astaxie) http://twitter.com/astaxie (http://twitter.com/astaxie)
  11. 20/8/14 8:49 am Create an API Application In One Minute

    Page 11 of 11 http://127.0.0.1:3999/Go/quick.slide#1