Category : Javascript

Bahasa Pemrograman Javascript

Belajar Membuat Web Server Menggunakan Node JS


CThubC20210606am617 fam17ThursdayUTC17 302021 UTCxUTC2021-06-17T04:17:20+00:0000000030UTC 3004UTC thQ0 2030am30UTC06UTC630: thQ0thUTCAMUTCE[42th22]: C2021Thursday000000066 6202130 f2021000000617: 1054 16239034406k6202146 2021-06-17T04:17:20+00:002021Thursday000000066 'pamThu, 17 Jun 2021 04:17:20 +0000am06000amThursday000000UTC' 176 'f17UTCThursday17 Thursday172030'. UTC04UTC thQ0 2030am30UTC06UTC630 UTCxUTC2021-06-17T04:17:20+00:0000000030UTC17 4am20: 20UTCThursdayUTC2021-06-17T04:17:20+00:0030 pamThu, 17 Jun 2021 04:17:20 +0000am06000amThursday000000UTC fThu, 17 Jun 2021 04:17:20 +0000202106 pamThu, 17 Jun 2021 04:17:20 +0000am06UTC30UTCThu, 17 Jun 2021 04:17:20 +0000 am 404UTCThu, 17 Jun 2021 04:17:20 +0000UTC pamThu, 17 Jun 2021 04:17:20 +0000am066am06UTC = '17am30UTCf2021Thu, 17 Jun 2021 04:17:20 +000006am30' by admin Posted in Javascript


Sebelumnya kita membuat Web Server dengan Node JS dan Express JS, kemudian muncul pertanyaan, bisa nggak sih kita membuat Web Server hanya Node JS saja ?

Langkah-nya mudah :

1. Membuat file server.js, dengan isi

const http = require(‘http’);
const fs =

readmore