Clone this repository
git clone https://github.com/afotescu/ciklum_test.git
Before running the service you need to add in the root of this app a file called ports.json
To run this app you must have docker installed
Tests will run automatically as a build step
Run the following command in the root of the application
docker-compose up --build
This command will run 3 docker services
- mongodb
- PortDomainService
- ClientAPI
You can access the client api on localhost:5000
The api contains only 1 endpoint /ports with queryparams limit=uint&offset=uint for simple pagination
The maximum amount of ports returned is 100