You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.9 KiB
35 lines
1.9 KiB
3 years ago
|
<h1 align="center">Bonjour 👋, Je suis'm Mickaël</h1>
|
||
|
<h3 align="center">API NodeJS, avec SEQUELIZE + MYSQL + EXPRESS</h3>
|
||
|
|
||
|
- DEVOIR NODEJS **Vous trouverez ci-joint toute les informations pour mettre en place l'API**
|
||
|
|
||
|
- 3 - Lancer le serveur Node **Toujours à la racine, utiliser le package nodemon en ligne de commande "nodemon start"**
|
||
|
|
||
|
- 1 - Créer la BDD [Créer votre BDD à partir du fichier.](/app/bdd/bdd.sql)
|
||
|
|
||
|
- 2 - Installer les package [Importer les package npm, grâce à la commande "npm i"](Racine)
|
||
|
|
||
|
- Requête GET **http://localhost:8080/api/voiture/GETOne/:id**
|
||
|
|
||
|
- Requête PUT **http://localhost:8080/api/voiture/PUT/:id**
|
||
|
{
|
||
|
"nom": "Twingo",
|
||
|
"nbrPlace": "5"
|
||
|
}
|
||
|
|
||
|
- Requête POST **http://localhost:8080/api/voiture/POST**
|
||
|
{
|
||
|
"nom": "Twingo",
|
||
|
"nbrPlace": "4"
|
||
|
}
|
||
|
|
||
|
- Requête DROP **http://localhost:8080/api/voiture/DROP/:id**
|
||
|
|
||
|
- 📝 Voici mon adresse mail en cas de problème **Mickaelpoupion@gmail.com**
|
||
|
|
||
|
<h3 align="left">Connect with me:</h3>
|
||
|
<p align="left">
|
||
|
</p>
|
||
|
|
||
|
<h3 align="left">Languages and Tools:</h3>
|
||
|
<p align="left"> <a href="https://expressjs.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/express/express-original-wordmark.svg" alt="express" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://www.mysql.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/mysql/mysql-original-wordmark.svg" alt="mysql" width="40" height="40"/> </a> <a href="https://nodejs.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original-wordmark.svg" alt="nodejs" width="40" height="40"/> </a> </p>
|