5 Commits

Author SHA1 Message Date
1ad136ea60
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.
2024-05-21 16:14:54 +02:00
Mathis
f5a9885589
feat: switch CONTEXT from prod to dev in .env.example
This commit adjusts the .env.exemple file to better suit development needs, by updating the CONTEXT variable from 'prod' to 'dev'. This change provides easier environment setup for local testing and development.

Signed-off-by: Mathis <mherriot@yidhra.fr>
2024-05-15 09:15:24 +02:00
9b9b635989
feat: update environment variables
Update .env.example file with production context details. Includes changes like modifying the CONTEXT from 'dev' to 'prod', adding MYSQL_HOST variable, and replacing MONGO_COLLECTION with MONGO_DATABASE.
2024-05-14 16:52:45 +02:00
f711dd5d49
feat: add new environment variables to .env.exemple
This commit introduces some additional environment variables to the .env.exemple file. The new variables include settings for the application port, debug mode, context, MySQL port, and MongoDB port.
2024-05-13 16:52:02 +02:00
f7b719dbba
feat: add .env.example file
A new file, .env.example, has been added. It contains configuration for both MySQL and MongoDB, including username, password, and database information.
2024-05-13 10:47:39 +02:00