Skip to content

Oeilomega/test-backend-junior

 
 

Repository files navigation

Test dev Backend Junior

This is the test project for BetOnYou. You will have to complete new features in it and fix existing bugs.

Setup

The project is build to develop under VSCode with Devcontainers.

  • Fork the project
  • Copy .env.sample to .env and complete it
  • Open the project in VSCode
  • Select run in devcontainer

You can find the API documentation on: http://0.0.0.0:8000/docs

Outside of Dev container

  • Fork the project
  • Copy .env.sample to .env and complete it
  • You can use Makefile task setup_dev to install required dev packages.
  • You have to activate linter black for python or run format manually.
  • You should use docker-compose stack to test your code.

Scenario

BetOnYou is a play to earn application around games. As such we need to match player together through simple rules, collect their results and give or remove points. We also have to provide players with a list of awards when they collect enough points.

Another part is to provide social interaction through friends and chat system.

Due to its complexity, the matching process will not be integrated into this project.

Goals

Features

  • We currently have a One to One conversation. We would like to create grouped conversation with the following requirements:

    • A group conversation can be named (default to None).
    • A group conversation must be created with at least 3 people.
    • People can leave conversation
    • A group conversation should be archived/closed automatically when there is only 1 person remaining.
    • People can invite others to conversation

Bugs

  • There is a performance issue on production. Some request are anormaly long. We suspect a concurrent run issues where request are queued instead of being executed in parallel.

Tests

Test case are provided for players. You should try to implement them on socials at least for your new features.

Some rules

  • You have to fork the project on your side.
  • You must not break current responses and inputs without great justification (retro compatibility issues)
  • You should commit using conventional commit format: https://www.conventionalcommits.org/en/v1.0.0/

About

Backend structure for recrutement testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.1%
  • Shell 3.9%
  • Dockerfile 1.6%
  • Makefile 1.4%