A very simple and light interface to demonstrate how to take advantage of the Paybook Financial API (Sync) to pull information from Mexican Banks and Tax Authority.
- GO Stable version 1.6.1, follow this guide to install GO
- NodeJS Stable version 5.10.1
- Bower
- Paybook Sync API key
- **Optional ** sqlite3
- In your $GOPATH/src create paybook.com directory
- cd $GOPATH/src/paybook.com/
- git clone https://github.com/Paybook/lite-go lite
- go get github.com/beego/bee
- go install paybook.com/lite
- cd $GOPATH/src/paybook.com/lite
- npm install
- Create conf/app.conf file with the following content
appname = lite
httpport = 9090
runmode = dev
autorender = true
SessionOn = true
copyrequestbody = true
TemplateLeft = "<<<"
TemplateRight = ">>>"
pbsync_api_key = "YOUR-API-KEY-HERE"
pbsync_base_url = "https://sync.paybook.com/v1/"
pbsync_files_url = "https://s.paybook.com"
- cd $GOPATH/src/paybook.com/lite
- Type: bee run
- Test it http://localhost:9090/
- Create a new user on Signup http://localhost:9090/signup
- Login with the new user account http://localhost:9090/login
- Add a site account
- cd $GOPATH/src/paybook.com/lite
- sqlite3 data.db
Based on BeeGo frame work