backend:Scarlet Apartments 网站的后端 API

时间:2024-06-29 00:29:30
【文件属性】:

文件名称:backend:Scarlet Apartments 网站的后端 API

文件大小:13KB

文件格式:ZIP

更新时间:2024-06-29 00:29:30

JavaScript

#猩红色公寓 创始人 马南巴维什 - 首席执行官 Mushaheed Kapadia - 首席技术官 后端 API 后端 API 是一个 RESTful API。 只需向某些 URL 发出GET 、 POST 、 PUT和DELETE请求,它就会返回一个 JSON 对象,让您知道是否发生了事情。 基本网址: 网址: http://.scarletapartments.me/api 或者,如果您正在进行本地开发: 网址: http://localhost/api 旁注:后端 api 在端口 3000 上运行,因此您也可以从那里访问它。 索引路线 网址后缀: None 获取根路由 类型: GET 路线: / 说明:返回具有 API 状态的 JSON。 回复: { 'status' : true, 'message' : "root route" } 获取当前


【文件预览】:
backend-master
----.gitignore(51B)
----routes()
--------landlords.js(6KB)
--------index.js(742B)
--------students.js(12KB)
----README.md(1KB)
----bin()
--------www(281B)
----app.js(2KB)
----package.json(663B)
----models()
--------review.js(319B)
--------listing.js(324B)
--------landlord.js(400B)
--------student.js(389B)
--------comment.js(307B)
----config()
--------passport-student.js(4KB)
--------passport-landlord.js(4KB)
----lib()
--------constants.js(281B)
--------encryption.js(1KB)

网友评论