BE-Restaurant-Passport:餐厅护照的后端存储库

时间:2024-03-12 01:59:20
【文件属性】:

文件名称:BE-Restaurant-Passport:餐厅护照的后端存储库

文件大小:86KB

文件格式:ZIP

更新时间:2024-03-12 01:59:20

JavaScript

BE餐厅护照 Restuarant Passport的后端存储库: : API路由 验证端点: POST /身份验证/注册 预期的请求正文: { "username": "Demo1", "password": "password", "first_name": "Kyle", "last_name": "Barnett", "city": "Salt Lake City", "email": "demo1@email.com" } 返回值: { "created_user": { "id": 1, "username": "Demo1", "password": "$2a$10$kJw66/2Yb1xnUIczPAXIze5hiyjCnxTebH1oGukuxWeYvVp8aRrMG",


【文件预览】:
BE-Restaurant-Passport-master
----restaurants()
--------restaurant-model.js(1KB)
--------restaurant-router.spec.js(421B)
--------restaurant-router.js(2KB)
--------restaurant-model.spec.js(1KB)
----config()
--------secrets.js(68B)
----index.js(188B)
----knexfile.js(949B)
----auth()
--------auth-router.spec.js(2KB)
--------auth-router.js(1KB)
--------restricted-middleware.js(563B)
----package.json(1KB)
----data()
--------restaurant.db3(52KB)
--------dbConfig.js(196B)
--------migrations()
--------test.db3(52KB)
--------seeds()
----api()
--------server.js(710B)
--------server.spec.js(729B)
----package-lock.json(256KB)
----.env(232B)
----users()
--------users-model.js(416B)
--------users-model.spec.js(1KB)
----.gitignore(17B)
----README.md(4KB)

网友评论