Giter Club home page Giter Club logo

secretsanta's Introduction

SecretSanta

Secret Santa for LiveCampus

Prérequis

Cloner le projet à partir du repository

git clone https://github.com/MathiasGenibrel/SecretSanta.git

Installation de de docker via npm

npm install -g docker

Configuration .env

Dans le dossier racine du projet /.env

DATABASE="secretsanta"

Dans le dossier environment du projet backend/src/environment/.env

SECRET_TOKEN="secrettoken"

HOSTNAME_DB="172.18.0.1"
DATABASE_DB="secretsanta"
USER_DB= "root"
PORT_DB="3307"

Installation

Commande pour construires les services

docker compose up

Lancement de docker

docker compose start

Ajout de la Base de Données

docker compose exec -T db mysql secretsanta < secretsanta.sql

Connexion à l'application

Comptes pour se connecter à l'application

Login / Mot de passe :

- [email protected] / Livecampus2022.fr                                 
- [email protected] / Livecampus2022.fr
- [email protected] / Livecampus2022.fr                    
- [email protected] / Livecampus2022.fr   

Exécution des tests

Commande pour éxécuter les tests en backend

docker compose exec -i api npm test

Commande pour éxécuter les tests en frontend

docker compose exec -i web npm test

Know Issue

L'application en prod peux avoir des soucis sur la communication avec l'api du fait qu'il manque un certificat SSL, on peut changer celà en modifiant un paramètre navigateur : (Chrome Users) chrome://flags/#block-insecure-private-network-requests Et désactivé le paramètre.

Maintenant l'api devrait fonctionné. 🎉

secretsanta's People

Contributors

mathiasgenibrel avatar nykolasp avatar valentinhusiaux avatar

Watchers

 avatar

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.