drive- backend - authentication adn oAuth completion
Showing
migrations/20250508063150-create-users.js
0 → 100644
models/User.ts
0 → 100644
models/index.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
... | ... | @@ -11,17 +11,33 @@ |
"license": "ISC", | ||
"description": "", | ||
"devDependencies": { | ||
"@types/bcrypt": "^5.0.2", | ||
"@types/express-validator": "^2.20.33", | ||
"@types/jsonwebtoken": "^9.0.9", | ||
"@types/node": "^22.15.3", | ||
"@types/sequelize": "^4.28.20", | ||
"sequelize-cli": "^6.6.3", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^5.8.3" | ||
}, | ||
"dependencies": { | ||
"@fastify/auth": "^5.0.2", | ||
"@fastify/cors": "^11.0.1", | ||
"@types/bcryptjs": "^2.4.6", | ||
"bcrypt": "^5.1.1", | ||
"bcryptjs": "^3.0.2", | ||
"dotenv": "^16.5.0", | ||
"express-validator": "^7.2.1", | ||
"fastify": "^5.3.2", | ||
"fastify-cors": "^6.0.3", | ||
"fastify-plugin": "^5.0.1", | ||
"google-auth-library": "^9.15.1", | ||
"googleapis": "^148.0.0", | ||
"jsonwebtoken": "^9.0.2", | ||
"mysql2": "^3.14.1", | ||
"sequelize": "^6.37.7", | ||
"sequelize-typescript": "^2.1.6", | ||
"sqlite3": "^5.1.7", | ||
"zod": "^3.24.4" | ||
} | ||
} |
src/controllers/auth.controller.ts
0 → 100644
src/controllers/user.controller.ts
0 → 100644
src/middlewares/authenticate.ts
0 → 100644
src/models/User.ts
deleted
100644 → 0
src/plugins/auth/auth.controller.ts
0 → 100644
src/plugins/auth/verifyJWT.ts
0 → 100644
src/routes/auth.routes.ts
0 → 100644
src/routes/auth/google.ts
0 → 100644
src/routes/profile.ts
0 → 100644
src/routes/user.routes.ts
0 → 100644
src/routes/user.ts
deleted
100644 → 0
src/types/fastify/index.d.ts
0 → 100644
utils/database.ts
0 → 100644
Please
register
or
sign in
to comment