Skip to content
/ Bonum Public

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

Notifications You must be signed in to change notification settings

AlmirJNR/Bonum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  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

Steps:

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