https://sequelize.org/docs/v6/getting-started/
Example https://github.com/taythebot/fastify-template.git
npx sequelize-cli db:migrate npx sequelize-cli db:migrate:undo:all
npx sequelize db:migrate --env test
npx sequelize-cli db:seed:all npx sequelize-cli db:seed --seed users-seeder
npx sequelize-cli seed:generate --name demo-user npx sequelize-cli db:seed:undo --seed name-of-seed-as-in-data npx sequelize-cli db:seed:undo:all
DEBUG=sequelize:* npx sequelize-cli db:seed:all --config sequelize/config.js
Example https://github.com/taythebot/fastify-template.git
Tutorial, very good https://www.nearform.com/insights/complete-guide-fastify-plugin-system/
https://github.com/pundit-community/pundit.js
https://fusionauth.io/dev-tools/jwt-decoder
Create JWT token: http://jwtbuilder.jamiekurtz.com/
fastify/fastify-swagger#47 (comment)