typeauthx
v1.0.64
Published
Express Authentication Middleware is a powerful Node.js module designed to simplify the implementation of authentication mechanisms in your Express.js applications. With this middleware, you can effortlessly secure your API routes, protect resources, and
Downloads
84
Readme
TypeAuthX
Express Authentication Middleware is a powerful Node.js module designed to simplify the implementation of authentication mechanisms in your Express.js applications. With this middleware, you can effortlessly secure your API routes, protect resources, and manage user authentication.
Configuration
Environment Variables
The following environment variables are required to run the application:
MYSQL_HOSTNAME
- The hostname of the MySQL serverMYSQL_USERNAME
- The username of the MySQL userMYSQL_PASSWORD
- The password of the MySQL userMYSQL_DATABASE
- The name of the MySQL databaseDATABASE_DEBUG
- Whether or not to enable database debugging (true/false)SMTP_HOSTNAME
- The hostname of the SMTP serverSMTP_PORT
- The port of the SMTP serverSMTP_USERNAME
- The username of the SMTP userSMTP_PASSWORD
- The password of the SMTP userSMTP_FROM_ADDRESS
- The email address to send emails fromSMTP_FROM_NAME
- The name to send emails from