Simple HTTP/2 server using tinyhttp and http2 module.
Generate the certificate key.
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' \
-keyout localhost-privkey.pem -out localhost-cert.pemInstall all dependencies
tinyhttp new http2node index.jsand in another terminal:
curl https://localhost:3000 -kiv