支持速率限制
然后把oauth单独放一个页面 一些UI调整
This commit is contained in:
37
package.json
37
package.json
@ -10,33 +10,42 @@
|
||||
"test:oauth": "node test-oauth.js",
|
||||
"test:oauth-flow": "node test-oauth-flow.js",
|
||||
"test:redirect-uri": "node test-redirect-uri.js",
|
||||
"test:rate-limit": "node test-rate-limit.js",
|
||||
"dev:frontend": "vite",
|
||||
"build:frontend": "vite build",
|
||||
"preview:frontend": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.18.2",
|
||||
"pg": "^8.11.3",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.3.1",
|
||||
"express-validator": "^7.0.1"
|
||||
"express": "^4.18.2",
|
||||
"express-rate-limit": "^7.1.5",
|
||||
"express-validator": "^7.0.1",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"pg": "^8.11.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.0.1",
|
||||
"axios": "^1.5.0",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"vite": "^4.4.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"@mui/material": "^5.14.0",
|
||||
"@mui/icons-material": "^5.14.0",
|
||||
"@emotion/react": "^11.11.0",
|
||||
"@emotion/styled": "^11.11.0",
|
||||
"react-router-dom": "^6.15.0"
|
||||
"@mui/icons-material": "^5.14.0",
|
||||
"@mui/material": "^5.14.0",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"axios": "^1.5.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.15.0",
|
||||
"vite": "^4.4.0"
|
||||
},
|
||||
"keywords": ["auth", "api", "postgresql", "login", "register", "oauth"],
|
||||
"keywords": [
|
||||
"auth",
|
||||
"api",
|
||||
"postgresql",
|
||||
"login",
|
||||
"register",
|
||||
"oauth"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT"
|
||||
}
|
Reference in New Issue
Block a user