document-generation

Run The Project

You will need the following tools:

Installing

Follow these steps to get your development environment set up: (Before Run Start the Docker Desktop)

  1. Clone the repository
  2. Once Docker for Windows is installed, go to the Settings > Advanced option, from the Docker icon in the system tray, to configure the minimum amount of memory and CPU like so:
  • Memory: 4 GB
  • CPU: 2
  1. At the root directory which include docker-compose.yml files, run below command:
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d

Note: If you get connection timeout error Docker for Mac please Turn Off Docker's "Experimental Features".

  1. Wait for docker compose all microservices. That’s it! (some microservices need extra time to work so please wait if not worked in first shut)

  2. You can run from postman this link http://localhost:8000/v1/document

  3. Select Post action and in Body (json) use this json { "customerNumber": 1, "documentNumber": "45685f64-1234-5678-b3fc-2c963f66afa6", "documentText": "tesasdfasdfasdft" }