You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frontend URL to which the provider redirects with code or error message
Application configurations
Environment Variable
APP_NAME
Application name to be used in emails
APP_DOMAIN
Frontend host / Application home
APP_CONFIRM_EMAIL_REDIRECT
Frontend URL to which email confirmation is redirected
APP_RESET_PASSWORD_REDIRECT
Frontend URL to which password reset is redirected
APP_LOGIN_WTH_EMAIL_REDIRECT
Frontend URL to which login with email is redirected
Swagger UI documentation
Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.
https://swagger.io/tools/swagger-ui/
To access API documentation go to http://localhost:{PORT}/documentation
Dependencies
Library
Function
bcryptjs
Hashing passwords
dotenv
Loading environment variables
fastify
Fast and low overhead web framework, for Node.js
fastify-cors
Add cors support
fastify-swagger
Swagger UI
fastify-cookie
A plugin for Fastify that adds support for reading and setting cookies.
fastify-helmet
Important security headers for Fastify. It is a tiny wrapper around helmet.