Skip to content
Snippets Groups Projects
Select Git revision
  • ca925c0a5addaa242b8bce305f08e4a40a4f89e9
  • main default protected
  • wip-injection
3 results

test-betclic

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    nicolasfavier authored
    ca925c0a
    History

    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 docker

    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é

    Going further

    • Database migration tool
    • ...