GithubHelp home page GithubHelp logo

coding-challenge's Introduction


Coding Challenge

project description

Your project must be done accordingly to microservice principle. Create 4 microservices: PostgreSQL Database, Redis, Celery Worker and REST API server(based on FastAPI). Your project must be runnable with docker-compose.

project goals

  1. based on this dataset create database schema. To create database schema use SQLAlchemy.
  2. dataset must be loaded into database in celery task when system is bootstrapped. When docker containers are created for the first time, celery must run a boostrap task that will download dataset and insert it into database. Before dataset is inserted You must make sure that database schema is created.
  3. Expose REST API and allow to filter dataset, design some filters of Your choice, for example: category, race or sex. But feel free to propose others too. The REST API needs to return filtered dataset and link to chart.
  4. When REST API will be used, a celery task must be scheduled which will create a chart with plotly. Chart must be saved on the disk, information about it saved to database.
  5. Chart needs to represent a filtered dataset. You must show average values for grades of all school subjects from dataset.
  6. Expose an endpoint which will return chart created with plotly(IMAGE), endpoint has to use the id returned by REST API.
  7. Create a Diagram/Blueprint representing Your system implementation.
  8. Create unit tests.
  9. Create integration test. You must test this scenario: Your REST API is used, celery task is executed, You must make sure that chart image is available.


I will rate You project based on commits history, code comments and description, simplicity, tests and blueprint. You don't need to upload the whole dataset, it is opposite, clean it and transform it if needed, we don't want to put trash to database. Read dataset description from website, make sure You know the data You can use jupyter-notebook to analyze the dataset first

project data

Use this dataset

technologies that must include

  1. Python3.8 or higher
  2. FastAPI
  3. Docker and docker-compose
  4. Plotly
  5. Celery
  6. Redis
  7. PostgreSQL
  8. SQLAlchemy
  9. Pydantic

coding-challenge's People


zxenonx avatar


PEP 8 Speaks 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.