new course on openclassroom

This commit is contained in:
hugo gogo
2022-10-16 20:08:49 +02:00
parent b35cf724bc
commit 0b493fc0ec
22 changed files with 1057 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}

View File

@@ -0,0 +1,7 @@
const http = require('http');
const server = http.createServer((req, res) => {
res.end('Voilà la réponse du serveur !');
});
server.listen(process.env.PORT || 3000);