Skip to content

Releases: ThiagoHG1/login-api

Login-API version 1.2

01 Sep 16:57

Choose a tag to compare

Version 1.2

This version includes improvements and fixes compared to the previous version:

  • Email Validation: Users must now provide valid email domains during registration, such as @gmail.com, @yahoo.com, and others.
  • Code Refactoring: The code has been modularized by separating public and protected routes and the middleware logic for better organization and maintainability.
  • Security Enhancements: The use of environment variables for the secret key (SECRET_KEY) and database configurations was implemented with the addition of the dotenv package.
  • Documentation Update: README updated with clear instructions on installation, configuration, usage, and new requirements for email validation.

These changes aim to improve security, user experience, and overall code structure.

Login-API v1.1

01 Sep 14:21

Choose a tag to compare

Version 1.1 introduces several improvements and fixes:

  • JWT Token Authentication: A unique JWT token is now generated and used for authentication upon login.
  • Enhanced Security for Registration: Passwords are now stored in a hashed format using Argon2, improving security.
  • Improved User Deletion: The user deletion route now requires the username, password, password confirmation, and a valid authenticated token.

Login-API version 1.0

31 Aug 18:29

Choose a tag to compare

LOGIN-API

The most basic version of the API, with no protections, only database connection, and routes for login, registration, and user deletion. Designed for those who just want a starting point.