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.
41 lines
1014 B
JSON
41 lines
1014 B
JSON
{
|
|
"name": "brief-06-back",
|
|
"version": "1.0.0",
|
|
"description": "Plateforme de réseau social, sans socket",
|
|
"main": "src/app.ts",
|
|
"keywords": [],
|
|
"author": "Mathis HERRIOT",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"bun:dev": "bun run --watch src/app.ts",
|
|
"bun:check": "bunx biome check --skip-errors --apply src"
|
|
},
|
|
"dependencies": {
|
|
"@node-rs/argon2": "^1.8.3",
|
|
"axios": "^1.6.8",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.19.2",
|
|
"helmet": "^7.1.0",
|
|
"jose": "^5.3.0",
|
|
"mongodb": "^6.6.1",
|
|
"morgan": "^1.10.0",
|
|
"mysql2": "^3.9.7",
|
|
"randomatic": "^3.1.1",
|
|
"react-hook-form": "^7.51.4",
|
|
"tslog": "^4.9.2",
|
|
"uuid": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.7.3",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.12.11",
|
|
"@types/randomatic": "^3.1.5",
|
|
"@types/uuid": "^9.0.8",
|
|
"arkit": "^1.6.4"
|
|
}
|
|
}
|