feat: Implement registration feature and update database service

This commit creates new methods for the authentication system, especially the user registration feature. The update also validates input data and checks if a user already exists in the database. It modifies the application entry point to include the updated user registration route and provides updates to the database service to include user-related functions. The MariaDB collation was also updated in the database schema script to support unicode.
This commit is contained in:
2024-05-21 16:14:54 +02:00
parent 18c20c52d5
commit 1ad136ea60
14 changed files with 233 additions and 23 deletions

View File

@@ -2,6 +2,9 @@ APP_PORT: 3000
DEBUG: true
CONTEXT: dev
HASH_SECRET: ''
JWT_SECRET: ''
MYSQL_PORT: 3434
MYSQL_HOST: 'localhost'
MYSQL_USERNAME: 'apdbqixmwnsesdj'