Giter VIP home page Giter VIP logo

2023-03-wns-lamarr-groupe3's Introduction

City Guide

#lancer le projet docker compose up #Après l'installation de package docker compose up --build

#bug

  • Bug front : npm install --save-dev @types/react dans le cas ou le package React n'est pas présent.

  • Bug des variables d'environnement avec Docker : => Variable d'environnement non reconnue à l'utilisation du package 'dotenv' => Résolution : création d'une ligne 'env_file' dans la partie backend du fichier docker-compose.dev.yml qui indique le chemin jusqu'au fichier .env (situé à la racine du dossier /backend) et suppression de la dépendance 'dotenv'.

  • Erreur eslint : => Dans le fichier eslintrc.js modifier la valeur de la propieté project en ajoutant /backend/ devant tsconfig ["./backend/tsconfig.json"]

  • Import des images : => pour le moment placer les images dans le dossier public car on ne peut pas les importer depuis un dossier assets dans src => pour utiliser une image avec la propriete Css background-image: url(''), placer l'image dans le dossier de son composant et non dans le dossier public

Etapes pour envoyer les données

Node Créer entité typeOrm ajouter à datasource Créer un controller Créer un fichier contact-route qui liste les routes liées au prise de contact

React Appeler l'api messageController

2023-03-wns-lamarr-groupe3's People

Contributors

aimach avatar celine-renault avatar sofrdr avatar martial-torval avatar alexisbchz avatar mrgreen0000 avatar

Watchers

James Cloos avatar Arnaud Renaud avatar Kerkeb Abdou avatar nicolas avatar  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.