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.
18 lines
396 B
Plaintext
18 lines
396 B
Plaintext
APP_PORT: 3000
|
|
DEBUG: true
|
|
CONTEXT: dev
|
|
|
|
HASH_SECRET: ''
|
|
JWT_SECRET: ''
|
|
|
|
MYSQL_PORT: 3434
|
|
MYSQL_HOST: 'localhost'
|
|
MYSQL_USERNAME: 'apdbqixmwnsesdj'
|
|
MYSQL_PASSWORD: 's6ts66q6987356v63668987t965z79q52fd'
|
|
MYSQL_DATABASE: 'brief_06'
|
|
MYSQL_ROOT_PASSWORD: '60680498848'
|
|
|
|
MONGO_PORT: 2727
|
|
MONGO_DATABASE: 'brief-06'
|
|
MONGO_USERNAME: 'szhaoqbeofgsnfo'
|
|
MONGO_PASSWORD: 's47655982586r669e6ee5f58r8f45f35fe6' |