Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

kacperhes/hotailors-recruitment-task

Repository files navigation

HOTAILORS IOC RECRUITMENT TASK

Requirements

To start Azure function locally you will need:

  1. Azure CLI (installation instructions)
  2. Node.js v8.x (installation instructions)
  3. .NET Core SDK (installation instructions)
  4. Azure Functions Core Tools (installation instructions)

Task

Extend Azure Function (HttpTrigger), so it will be able to receive a list of pokemon ids (multiple) and type (single) and then return a list of pokemon names, which match the requested type (property "type") as JSON. Additional info:

  • Remember about SOLID
  • To fetch pokemon data use: https://pokeapi.co
  • Azure Function should be triggered via GET (HTTP triggered function)
  • Please use: lodash, axios and inversify
  • Use existing structure and extend it
  • Example invoke: localhost:7071/api/HttpTrigger?id=1&id=2&id=5&type=grass
  • Example response: { status: 200, body: { pokemons: ["bulbasaur", "ivysaur"] } }

Please do not use any external packages dedicated to handle pokeapi.

In case of any questions send email to: lukasz@hotailors.com

Good luck 🙂

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published