backend auth 설정
.prettierrc.json
0 → 100644
... | ... | @@ -23,12 +23,21 @@ |
"author": "Daeki Yoon", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@types/bcryptjs": "^2.4.2", | ||
"@types/cookie-parser": "^1.4.3", | ||
"@types/express": "^4.17.13", | ||
"@types/jsonwebtoken": "^8.5.8", | ||
"@types/validator": "^13.7.4", | ||
"nodemon": "^2.0.16", | ||
"ts-node": "^10.8.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
"dependencies": { | ||
"express": "^4.18.1" | ||
"bcryptjs": "^2.4.3", | ||
"cookie-parser": "^1.4.6", | ||
"express": "^4.18.1", | ||
"jsonwebtoken": "^8.5.1", | ||
"mongoose": "^6.4.2", | ||
"validator": "^13.7.0" | ||
} | ||
} |
src/config.ts
0 → 100644
src/controllers/index.ts
0 → 100644
src/db/index.ts
0 → 100644
src/db/user.db.ts
0 → 100644
src/helpers/asyncWrap.ts
0 → 100644
src/helpers/index.ts
0 → 100644
src/models/index.ts
0 → 100644
src/models/role.model.ts
0 → 100644
src/models/user.model.ts
0 → 100644
src/routes/auth.route.ts
0 → 100644
src/routes/index.ts
0 → 100644
src/routes/user.route.ts
0 → 100644
Please register or sign in to comment