Code Monkey home page Code Monkey logo

search-service's Introduction

Purpose

The project concerns the creation of an REST API for finding items within a tree. Starting from 2 JSON structured at several levels, the API must allow to search in each of them (separately) the last level elements that contain a given string in 2 modes:

Search for the leaves on the whole tree

Search for leaves on a specific sublayer (passed in input to the API)

A plus is the realization of automatic tests.

For the implementation we want you to use Python.

The purpose is to see how you approach to solving problems and how to set up a project from scratch (methodologies / tools / maintainability of the code are aspects that we will take much into consideration).

Attached are the 2 JSON files:

Categories.json: the search must be done for the name field. The children are identified by the children field

Psychographics.json: the research must be done for the label field. The children are identified by the values ​​field

We leave you wide freedom regarding implementation

Dev Setup

  • run make venv to create the virtualenv
  • run source env/bin/activate to acrivate the virtualenv
  • run make install to install dependencies and packages
  • run make tests to run the tests
  • run make start to start the server

search-service's People

Watchers

Carmine Ingaldi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.