This is an example application to show and explain features of QOR.
# Get example app
$ go get -u github.com/qor/qor-example
# Setup database
$ mysql -uroot -p
mysql> CREATE DATABASE qor_example;
# Run Application
$ cd $GOPATH/src/github.com/qor/qor-example
$ go run main.go
$ go run config/db/seeds/main.go config/db/seeds/seeds.go
$ go test $(go list ./... | grep -v /vendor/ | grep -v /db/)
Qor Example admin configuration
Online Demo Website: demo.getqor.com/admin
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
Released under the MIT License.