项目
在 GitHub 查看
qor/qor-example
关于
展示 QOR SDK 的示例应用
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文QOR example application
This is an example application to show and explain features of QOR.
Quick Started
Go version: 1.8+
# 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 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
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.
探索相关项目
加载中…