Rewrote repository and added user model
Showing
This diff is collapsed.
... | @@ -11,10 +11,13 @@ | ... | @@ -11,10 +11,13 @@ |
"license": "ISC", | "license": "ISC", | ||
"dependencies": { | "dependencies": { | ||
"@types/cors": "^2.8.13", | "@types/cors": "^2.8.13", | ||
"@types/jsonwebtoken": "^9.0.1", | |||
"@types/shortid": "^0.0.29", | "@types/shortid": "^0.0.29", | ||
"bcrypt": "^5.1.0", | |||
"cors": "^2.8.5", | "cors": "^2.8.5", | ||
"dotenv": "^16.0.3", | "dotenv": "^16.0.3", | ||
"express": "^4.18.2", | "express": "^4.18.2", | ||
"jsonwebtoken": "^9.0.0", | |||
"mongodb": "^5.1.0", | "mongodb": "^5.1.0", | ||
"mongoose": "^7.0.1", | "mongoose": "^7.0.1", | ||
"multer": "^1.4.5-lts.1", | "multer": "^1.4.5-lts.1", | ||
... | @@ -26,6 +29,7 @@ | ... | @@ -26,6 +29,7 @@ |
"uuid": "^9.0.0" | "uuid": "^9.0.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@types/bcrypt": "^5.0.0", | |||
"@types/dotenv": "^8.2.0", | "@types/dotenv": "^8.2.0", | ||
"@types/express": "^4.17.17", | "@types/express": "^4.17.17", | ||
"@types/mongodb": "^4.0.7", | "@types/mongodb": "^4.0.7", | ||
... | ... |
src/interfaces/IUser.ts
0 → 100644
src/interfaces/IUserDto.ts
0 → 100644
src/models/User.ts
0 → 100644
Please
register
or
sign in
to comment