Giter VIP home page Giter VIP logo

ivvq-2020-project-captain-adhoc's Introduction

Captain Escorc Market

Access Captain Escorc Market directly online

Status

Master Develop
Build Status Build Status

Getting Started

  • Clone the repositoy using git clone https://github.com/M2DL/ivvq-2020-project-captain-adhoc.git.
  • Run docker-compose up to launch the PostgreSQL database, and the Spring Web server (you need to have Docker installed).
  • Optionally add a SECRET_KEY environment variable in the docker-compose.yml to sign the users' passwords (otherwise a non-secure default one is used).

Members of this project

  • Jérémie GUY
  • Alexandre PERGE
  • Florian PERU
  • Olivier DUFOUR

ivvq-2020-project-captain-adhoc's People

Contributors

jeremieguy1 avatar florianperu avatar alexandreperge avatar olived-fr avatar

Watchers

 avatar

ivvq-2020-project-captain-adhoc's Issues

Refactoring tests

  • Annotations @ Mock remplacé par @MockBean (TU ProductService, PurchaseProductService et PurchaseService)
  • rajouter les commentaires manquants
  • ajout test unitaire createPurchaseProduct (cas InsufficientQuantityException)
  • ajout test unitaire modifyQuantityProductNotFoundTest (le produit n'a pas été trouver en base)
  • ajout des tests d'intégration manquants pour MemberService

PUT /products/modify/quantity cas d'erreur

  1. quand la quantité est invalide (càd négative ) : code HTTP 400
  2. quand l'id du produit est invalide code HTTP 409
  3. Quand l'utilisateur n'est pas admin : code HTTP 403

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.