x1ddos / bcbo

Moved to

Home Page:https://github.com/xpeppers/beancounter_backoffice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beancounter Backoffice

This is a prototype of a backoffice for Beancounter written in Go + AngularJS.

Backoffice screenshot

Setup

You will need Go language installed on your platform.

Also, make sure you have make command. Alternatively, you could also just copy&paste commands from Makefile to cmd line terminal.

Running locally

Execute

make run APIKEY=<customer-key>

or

go run main.go --assets ./static --apikey key

Currenly, there's no authentication so you'll need to supply your customer API key from the command line.

Then navigate to http://localhost:9090.

The app assumes there's a Beancounter Platform instance running on http://localhost:8080. To use a different instance specify --bcapi flag, e.g.

go run main.go --assets ./static --apikey key --bcapi https://beancounter.io/rest

For all cmd line args run go run main.go -h.

Testing

To run backend tests execute make test or go test ./bc ./bo.

TODO: front-end Angular app testing with Karma.

Build

make build will create dist dir with static assets folder and compiled binary app.

About

Moved to

https://github.com/xpeppers/beancounter_backoffice


Languages

Language:JavaScript 52.6%Language:CSS 45.0%Language:Go 2.4%