View Code? Open in Web Editor
NEW
ivvq-2020-project-captain-adhoc created by GitHub Classroom
Dockerfile 0.33%
Java 35.78%
JavaScript 40.00%
Shell 1.88%
HTML 0.11%
Vue 21.89%
ivvq-2020-project-captain-adhoc's Introduction
Access Captain Escorc Market directly online
Master |
Develop |
![Build Status](https://camo.githubusercontent.com/905affd2b1b8aefb64fc2a1451521ae520a9006527a0c56c503c1ec7e7b0d5f4/68747470733a2f2f7472617669732d63692e636f6d2f4d32444c2f697676712d323032302d70726f6a6563742d6361707461696e2d6164686f632e7376673f746f6b656e3d356a4138365939486d316f345569534772744e37266272616e63683d6d6173746572) |
![Build Status](https://camo.githubusercontent.com/76bda6e7321480938b314c7452cb70906dee21c3aa4a6b8437e7269edc58bfdb/68747470733a2f2f7472617669732d63692e636f6d2f4d32444c2f697676712d323032302d70726f6a6563742d6361707461696e2d6164686f632e7376673f746f6b656e3d356a4138365939486d316f345569534772744e37266272616e63683d646576656c6f70) |
- 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).
- Jérémie GUY
- Alexandre PERGE
- Florian PERU
- Olivier DUFOUR
ivvq-2020-project-captain-adhoc's People
Watchers
ivvq-2020-project-captain-adhoc's Issues
- 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
- quand la quantité est invalide (càd négative ) : code HTTP 400
- quand l'id du produit est invalide code HTTP 409
- Quand l'utilisateur n'est pas admin : code HTTP 403