没有合适的资源?快使用搜索试试~ 我知道了~
rune:ECMAScript 7 API 框架
共70个文件
js:62个
gitignore:2个
json:2个
需积分: 0 0 下载量 108 浏览量
2021-06-06
16:48:44
上传
评论
收藏 29KB ZIP 举报
温馨提示
符文框架 Rune Framework 是一个用 Ecmascript 7 编写的 Node.js 的 API 框架。它包括 MongoDB Orm、RESTful 控制器层。 这个项目只是一个孩子,每天都在发展和变化,不推荐用于生产项目。 入门 首先全局安装 Rune Framework。 npm install -g rune 创建一个新的 API 项目。 rune new myapi 然后启动服务器。 cd myapi rune server GET http://localhost:3000/ 将返回 404 和空对象。 创建新模型 模型/todo.js import { type , required , Timestamps } from 'rune/orm' ; @ Timestamps export class Todo extends BaseModel
资源推荐
资源详情
资源评论
收起资源包目录
rune-develop.zip (70个子文件)
rune-develop
http
router
scope.js 4KB
set.js 381B
server.js 1015B
controller.js 2KB
spell.js 344B
hooks.js 1KB
index.js 83B
router.js 1KB
core
include.js 1KB
rune.js 214B
exception.js 183B
index.js 119B
orm
validators
min-length.js 236B
max-length.js 235B
validator.js 175B
min.js 243B
max.js 246B
required.js 238B
index.js 303B
decorators.js 2KB
exceptions
document-not-valid.js 135B
invalid-field.js 131B
document-not-found.js 135B
index.js 276B
invalid-value.js 131B
model-array.js 217B
validations.js 1KB
base.js 3KB
types
type.js 325B
any.js 73B
date.js 74B
object.js 76B
string.js 154B
boolean.js 314B
object-id.js 461B
index.js 395B
array.js 75B
number.js 168B
query.js 2KB
spell.js 457B
document.js 71B
client.js 2KB
hooks.js 715B
index.js 145B
types.js 273B
keys.js 1KB
test
orm
hooks.js 2KB
actions.js 695B
keys.js 1KB
all.js 66B
common.js 272B
babel.js 40B
mocha.opts 32B
README.md 2KB
spell.js 213B
template
models
base.js 49B
controllers
base.js 92B
config
routes.js 57B
mongo.yaml 103B
.gitignore 13B
package.json 44B
exec
spell.js 155B
.gitignore 22B
magician
loader.js 506B
rune 118B
magician.js 1KB
spell.js 726B
index.js 0B
cli.js 500B
package.json 550B
共 70 条
- 1
资源评论
晔晔匠
- 粉丝: 23
- 资源: 4650
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功