This example shows how to do authentication with fastify-session.
This project can simply run by:
cd fastify-session-authentication
npm install
npm start
Then open http://localhost:3000/login
in your browser and use the abcdef
password to login.