Backend API that powers the DP Invoice APP. See the native app built in Electron.
This app is created with:
- Go Kit
- jeremyschlatter's Firebase wrapper to connect to Firebase Realtime DB and provide mock interface for testing.
- Gorilla Mux for HTTP router
-
import
./config/config.jsonfile for secrets (firebase configurations) -
Install dependencies
go get
-
Run the app
go run .
-
Run test for invoice API
go test ./invoice -
Run test for inventory item API
go test ./item
