This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, you have to install these two fonts packs | |
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Agave.zip | |
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack/Regular/complete | |
and configure these software to use these fonts | |
for linux (vs code & git bash) or windows git-bash : agave nf | |
for windows vs code : hack nf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const url = require('url'); | |
const http = require ('http'); | |
const port= 8000; | |
const requestHandler = (request, response) => { | |
const parsedUrl = url.parse(request.url, true); | |
const person = { | |
name : parsedUrl.query.name, | |
city : parsedUrl.query.city |