This is a companion repository to Contentful.com's "Introduction to Fastify: A practical guide to building Node.js web apps" tutorial.
In the project directory, you can run:
To start the app in dev mode.
Open http://localhost:3000/get_time to view the route in the browser.
or you can run
To start the app in production mode. This is needed for the /shopping_list route which uses a Prisma database. The dev script (see package.json) includes a "-w" watch flag which causes unexpected reloads and a 503 error so it's better to use production mode to avoid this.