- Fastify web server
- HTTPS enabled (with junk cert/key)
- HTTP/2 enabled
- HTTP/2 push enabled via node-fastify-auto-push
-
"It can be thought as a replacement of the
fastify-static
plugin that supports automatic server-push."
-
- Webpack for client-side bundling
- You'll either wanna trust the cert at
server/certs/cert.pem
(which is just fromnode-fastify-auto-push
) or generate your own withtls-keygen
(per the advice here).- Trusting certs can be tricky. Refer to tls-keygen#browser-support for some insights for your operating system and browser.