An open API service indexing awesome lists of open source software.

https://github.com/almirjnr/bonum

Http api with a tesseract ocr wrapper using containers with integrated xunit tests
https://github.com/almirjnr/bonum

aspnet-core docker-compose github-actions http-api masstransit rabbitmq tesseract-ocr xunit

Last synced: 7 months ago
JSON representation

Http api with a tesseract ocr wrapper using containers with integrated xunit tests

Awesome Lists containing this project

README

          

# Bonum

#### _means "Good" in latin_

## What it is?

A http api with a tesseract ocr wrapper using containers with integrated xunit tests

## How to run it?

### Pre-requisites (run only):

- Docker and docker-compose
- Any http request tool (optional)(swagger is available if needed)

#### Steps:

1. Run `docker compose up` in your terminal
2. Access on your browser the address [http://localhost:5000/swagger](http://localhost:5000/swagger)
3. Use the swagger interface to send any supported image file to receive the extracted text as the response

### Pre-requisites (development):

- Docker and docker-compose
- Dotnet SDK 6.0.+
- Any IDE that works with Dotnet

#### Steps:

1. Run `docker compose up rabbitmq`
2. Start the `Bonum.Ocr` project
3. Start the `Bonum.Api` project

## Tests

Must have the [development pre-requisites](#pre-requisites-development)

#### Steps:

1. Run `dotnet test` in the [Src](Src) folder
2. (Alternative) Run the test using any IDE