bookkeeping

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2021 License: MIT

README

Hyperjump Bookkeeping

Bookkeeping is a generic double entry book keeping and journaling management service. It implements the acccore accounting library. The service is intended for any applications where double-entry bookkeeping is required, such as walletsand loyalty programs.

building

This project is built on golang. You need golang installed on your system to run. Minimal version is 1.16 since this project uses go mod and resource embedding.

You can click here for the golang resource and for more information on go and installations.

To build you can type:
go build ./...

testing

go test ./... -v -covermode=count -coverprofile=coverage.out

or

make test
make test-coverage

binary generation

go build -a -o wallet-go-img cmd/Main.go

or

make build

docker generation

make docker

running docker

make docker-run

api docs

Open API sepecificaations can be seen by hitting the /docs endpoint of the running instance. The file swagger.json can be found in /static/api/spec

Admin Dashboard

Dashboard can be accessed through /dashboard endpoint in the running instance. User need to know the SecretKey used to generate the HMAC API Key.

File structure

├── build
│   ├── azure
│   ├── github
│   └── docker
├── cmd
├── errors
├── internal
│   ├── accounting
│   ├── config
│   ├── connector
│   ├── contextkeys
│   ├── health
│   ├── helpers
│   ├── logger
│   ├── middlewares
│   └── router
├── migrations
├── static
│ ├── api
│ ├── dashboard
│ └── mime

Further information see

  1. Golang Project Structure
  2. Golang standard project layout

Directories

Path Synopsis
helpers
Package helpers are code saving utility and helper functions
Package helpers are code saving utility and helper functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL