Skip to content
Snippets Groups Projects
Select Git revision
  • b8b4071b830ee53cc48564ba52a5c676f42daa6b
  • master default protected
  • performance_fix
  • fix-performance
  • feat-add_docker
5 results

js

  • Clone with SSH
  • Clone with HTTPS
  • Tournament API

    Initalisation

    Pre-requisites

    You need to have Docker and AWS CLI installed on your machine

    How to start the database

    In docker/db folder, run the following command:

    docker compose up -d

    How to start the API

    Place yourself at root and start

    docker compose up -d

    // or with cmd

    Available endpoints

    Technical choices

    • I chose ... because ...

    I want to ensure tests are running

    Left to do

    • setup dynamo DB
    • faire la connexion avec Dynamo
    • 1er endpoint
      • créer l'entité joueur
      • créer le repo et le connecter à la BD
      • tester unitairement le service
      • tester l'intégration complète
      • endpoint fonctionnel pour l'ajout d'un joueur avec test
        • tests d'intégration
        • tests unitaires
    • tous les endpoints demandés
    • gestion de la sécurité

    Dans l'ordre :

    • Amélioration du fonctionnel
      • Routes factorisées
      • DTO
      • Appels à la BD
    • Amélioration des tests
    • Amélioration de la sécurité
    • Déploiement en prod serein

    Going further

    • Database migration tool
    • ...