create Node Server

PHOTO EMBED

Sat Sep 04 2021 21:44:19 GMT+0000 (UTC)

Saved by @devdave

const http = require('http');

const server = http.createServer((req, res) => {
    res.end('Voilà la réponse du serveur !');
});

server.listen(process.env.PORT || 3000);
content_copyCOPY