Test Case

###How to Start you can start application with docker-compose up

Backend

  • Tech used : express
  • Tested with mocha and chai
  • How to Start Backend

    npm install then npm start will be enough. Start test with npm test

Frontend

  • Tech used : svelte
  • How to Start Frontend

    npm install then npm run dev will be enough.

Endpoint

api/v1/getTroops

example request

   {
      "count":15,
   }
 

example output format

{
    "code": 200,
    "success": true,
    "data": [
        { 
        spearMen: 5,
        swordMen: 3,
        archers: 7
        }
      ]
}

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes