Web service recognizing barcode of payment receipt. It works fine with linear barcodes and QR-codes.
Barcodes recognize according information in the file resources/companies-schemas.edn
. It's possible to add new schemas and describe how to recognize some barcode by some trait (e.g. the name of the company) and also describe parsing-schema in the case of linear barcode. Specific of payment receipt recognizing is that the receipt have to contain account
, bill-id
and amount
.
Swagger is available by endpoint /api/swagger-ui
- kit-clj
- PosgreSQL from kit-postgres
As a standalone application clojure -Sforce -T:build all
PORT
- by default 3000
HTTP_HOST
- by default 0.0.0.0
For run as a docker container you have to set environment valiable JDBC_URL
which is url to postgreSQL DB e.g:
jdbc:postgresql://<db-host>:<db-port>/<db-name>?user=<user>&password=<password>
For more details look into Dockerfile
That is naive implementation my previous java project with clojure. And it defenetly is !NOT READY FOR PRODUCTION USAGE! Unlike the previous desktop version, recognizing is a clojure web services with clojurescript and Reagent on a frontend.