qor / qor-example

An example application showcasing the QOR SDK
MIT License
1.24k stars 326 forks source link

QOR example application

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

Chat Room: Join the chat at https://gitter.im/qor/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

Qor Example API configuration

Online Example APIs:

License

Released under the MIT License.

@QORSDK