Projects
View on GitHub
qor/qor-example
About
An example application showcasing the QOR SDK
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalQOR 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.
Explore related projects
Loading…