Hello! Thank you for your interest in joining our back end engineering team at Stylindex :)
We ask all candidates to complete this short exercise to help us evaluate their suitability for the roles we are recruiting for. We recommend spending between 2 and 4 hours. You will have an opportunity to discuss your solution, and the choices you made at the next interview stage.
Create a simple GraphQL API that fetches data from external storage
- Fetch data from
https://storage.googleapis.com/development-data/recruitment/pokemons.json
- Root query should contain two fields:
pokemons
andpokemon
- Field
pokemons
should return a collection ofPokemon
objects - Field
pokemons
should accept an optional argumentfirst
and return only the firstn
pokemons - Field
pokemons
should accept an optionalsort
argument that allows sorting pokemons by name (both ascending and descending) - Field
pokemon
should accept eithername
orid
as argument, and retrievePokemon
object by name or id
A good solution will
- satisfy the acceptance criteria
- have good test coverage
- use appropriate libraries
- be production ready
Create a simple scraper that scrapes books from http://books.toscrape.com/
- Scraper retrieves all 1000 books from website
- Each book should contain at least following data:
title
,rating
,price
,description
,category
- Scraper should be able to output data in either
json
orjsonlines
format
We use Scrapy
for scraping, but you are free to use libraries/framework that you are most comfortable with.
A good solution will
- satisfy the acceptance criteria
- use appropriate libraries
- be production ready
Please put your solution on a repository hosting service such as GitHub or Bitbucket and don't forget to include a README file to tell us how to build and run the application :)