Giter VIP home page Giter VIP logo

lite-go's Introduction

lite-go

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.

Requirements

  1. GO Stable version 1.6.1, follow this guide to install GO
  2. NodeJS Stable version 5.10.1
  3. Bower
  4. Paybook Sync API key
  5. **Optional ** sqlite3

Install (cli / terminal)

  1. In your $GOPATH/src create paybook.com directory
  2. cd $GOPATH/src/paybook.com/
  3. git clone https://github.com/Paybook/lite-go lite
  4. go get github.com/beego/bee
  5. go install paybook.com/lite
  6. cd $GOPATH/src/paybook.com/lite
  7. npm install

Configure

  1. 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"

Execute (cli / terminal)

  1. cd $GOPATH/src/paybook.com/lite
  2. Type: bee run
  3. Test it http://localhost:9090/
  4. Create a new user on Signup http://localhost:9090/signup
  5. Login with the new user account http://localhost:9090/login
  6. Add a site account

(Optional) Browse local data base

  1. cd $GOPATH/src/paybook.com/lite
  2. sqlite3 data.db

Notes

Based on BeeGo frame work

lite-go's People

Contributors

scriptarchitect avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.