Demo repo for Habr publication
$ npm install
...
$ npm start # start HTTP/2 server (need a proxy in front of)
$ npm run start-http1 # start HTTP/1 server (can connect to at http://localhost:3000)
Add ./cfg/local.json
:
{
"@teqfw/web": {
"server": {
"port": 3030
},
"urlBase": "your.server.com"
}
}