Example webapp with Fastify
Setup and run
To complete project setup, do:
and run with
then point your browser to localhost:8000
Setup and run with Docker
Note that it's possible to let Docker do all inside a container, because all is described in a Dockerfile; see Dockerfile-usage for related commands. Of course you need a local installation of Docker (recent, if possible latest), but nothing other.
To run a development server (with hot reload enabled) instead execute this:
npm run start:dev
For other custom commands look the 'scripts' section inside 'package.json'.
Fastify 1.4.0 or later, Node.js 8.11.1 or later.
Licensed under Apache-2.0.