How to create a mini web server. What skills are required to know how to do this project πŸ€”πŸ’‘ | Sololearn: Learn to code for FREE!

+6

How to create a mini web server. What skills are required to know how to do this project πŸ€”πŸ’‘

#advice

6/13/2018 3:08:01 PM

Edward Jackson Jr

4 Answers

New Answer

+19

var express = require('express'); var app = express(); // Our first route app.get('/', function (req, res) { res.send('Hello Dev!'); }); // Listen to port 5000 app.listen(5000, function () { console.log('Dev app listening on port 5000!'); });

+5

Edward Jackson Jr If you want something simple you just need to know about sockets.

+3

depends on lang else, sever - client concepts webserver specifics like error codes etc how urls and resources are evaluated and fetched on server

+1

learn apache httpd server and learn how to make configation