百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Q

qor-example

> 编程语言
开源

一个展示 QOR SDK 的示例应用程序

1.2K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个展示 QOR SDK 的示例应用程序

QOR example application

This is an example application to show and explain features of QOR.

Chat Room:

Quick Started

Go version: 1.8+

bash
# Get example app
$ go get -u github.com/qor/qor-example

# Setup database
# Or if you prefer postgreSQL see the postgres_env file for its configuration.
$ mysql -uroot -p
mysql> CREATE DATABASE qor_example;

# Run Application
$ cd $GOPATH/src/github.com/qor/qor-example
$ go run main.go

Generate sample data

go
$ go run config/db/seeds/main.go config/db/seeds/seeds.go

Run tests (Pending)

$ go test $(go list ./... | grep -v /vendor/ | grep  -v /db/)

Admin Management Interface

Qor Example admin configuration

Online Demo Website: demo.getqor.com/admin

RESTful API

Qor Example API configuration

Online Example APIs:

  • Users: http://demo.getqor.com/api/users.json
  • User 1: http://demo.getqor.com/api/users/1.json
  • User 1's Orders http://demo.getqor.com/api/users/1/orders.json
  • User 1's Order 1 http://demo.getqor.com/api/users/1/orders/1.json
  • User 1's Orders 1's Items http://demo.getqor.com/api/users/1/orders.json
  • Orders: http://demo.getqor.com/api/orders.json
  • Products: http://demo.getqor.com/api/products.json

License

Released under the MIT License.

@QORSDK

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言