API_Secure:Web服务-nodeJS-JWT-Redis

时间:2024-06-01 10:56:42
【文件属性】:

文件名称:API_Secure:Web服务-nodeJS-JWT-Redis

文件大小:23KB

文件格式:ZIP

更新时间:2024-06-01 10:56:42

nodejs api redis cookie session

配置文件:./env npm install npm start 本地主机:8080 / signup curl --location --request POST ' localhost:8080/signup ' \ --header ' Content-Type: application/json ' \ --data-raw ' { "username": "", "password" : "", "email" : "" } ' 本地主机:8080 /登录 curl --location --request GET ' localhost:8080/login ' \ --header ' Authorization: Basic YOUR_AUTH_ENCODED ' 本地主机:8080 / proveAnthentication curl --l


【文件预览】:
API_Secure-master
----.gitignore(13B)
----package.json(802B)
----package-lock.json(67KB)
----models()
--------index.js(451B)
----.env(355B)
----README.md(737B)
----middlewares()
--------index.js(2KB)
----controllers()
--------index.js(3KB)
----routes()
--------index.js(1KB)
----server.js(2KB)

网友评论