https://github.com/adrienjoly/node-esgi
Correction des exercices de la partie 1 du cours nodejs pour ESGI 2020-03
https://github.com/adrienjoly/node-esgi
Last synced: 7 months ago
JSON representation
Correction des exercices de la partie 1 du cours nodejs pour ESGI 2020-03
- Host: GitHub
- URL: https://github.com/adrienjoly/node-esgi
- Owner: adrienjoly
- Created: 2020-03-16T11:33:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T05:36:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-28T00:18:32.746Z (8 months ago)
- Language: JavaScript
- Homepage: http://adrienjoly.com/cours-nodejs/01-chatbot/
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESGI-NODE
Ce dépot contient un serveur web / API en Node.js.
Ce serveur répond "Hello World" quand on envoie une requête HTTP GET à la racine.
## Installation et exécution
```
$ git clone https://github.com/adrienjoly/node-esgi.git
$ cd node-esgi
$ npm install # pour installer les dépendances
$ npm start # pour exécuter le serveur
# presser ctrl-c pour quitter le serveur
```## Comment tester le serveur
```
$ curl http://localhost:3000/ # doit retourner le texte “Hello World”
```