Welcome to Electronic Shipping Agent
Navigate to the /api/fleets/random to get a random list of fleets. A fleet list is a collection of random fleets entries along with some other info, like the size of the anchorage for the test case:
{
"anchorageSize": {
"width": 31,
"height": 21
},
"fleets": [
{
"singleShipDimensions": {
"width": 5,
"height": 1
},
"shipDesignation": "Common Hexamaran with CIWS Installations",
"shipCount": 1
},
{
"singleShipDimensions": {
"width": 5,
"height": 20
},
"shipDesignation": "Floating Drilling Production Storage and Offloading Oil Refining Unit with Onboard Surveying Equipment",
"shipCount": 2
},
"... More fleets to follow ..."
]
}And each and every fleet has the following structure:
{
"singleShipDimensions": {
"width": 5,
"height": 20
},
"shipDesignation": "Floating Drilling Production Storage and Offloading Oil Refining Unit with Onboard Surveying Equipment",
"shipCount": 2
}Your task is to develop an front-end application that can take in random list of vessels and allow all the user to position them on an anchorage of a random size. Refer to README.md in the task repo for more info. GLHF! :D