This project was bootstrapped with Create React App.
This project is based on this tutorial app.
After cloning the repository, go to the root directory and run:
To launch the app, run:
and then
If there is an error finding react-scripts, run these 3 commands:
Open http://localhost:3000 to view it in the browser.
Il y a trois principaux problèmes avec ce projet que je n'ai pas pu résoudre :
- Il n'y a pas de fonctionnalité de recherche.
- La modale ne reste pas ouverte après un update/create/delete. J'ai essayé en vain de retirer
data-dismiss="modal"et depreventdefault()mais cela n'a rien changé, la fonction appelée lors duonClickinsiste pour retirer la modale. - Si l'on clique sur un contact pour le mettre à jour mais qu'on quitte la modale sans prendre d'action, le formulaire pour créer un nouveau contact sera pré-rempli avec les informations de ce contact.