MCPcopy
hub / github.com/qor/qor

github.com/qor/qor @v1.3.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.3.0 ↗
215 symbols 551 edges 20 files 107 documented · 50%
README

QOR

English Chat Room: Join the chat at https://gitter.im/qor/qor

中文聊天室: 加入中国Qor聊天室 https://gitter.im/qor/qor/china

Build Status

For security issues, please send us an email to security@getqor.com and give us time to respond BEFORE posting as an issue or reporting on public forums.

What is QOR?

QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.

This is a complete rewrite in Go, of the original QOR, which was a proprietary framework written in Ruby on Rails and used internally at The Plant. QOR 1.0 is the first version to be open sourced and distributed under the MIT license.

What QOR is not

QOR is not a "boxed turnkey solution". You need proper coding skills to use it. It's designed to make the lives of developers easier when building complex EC systems, not providing you one out of the box.

Documentation

https://doc.getqor.com/

The modules

  • Admin - The core part of QOR system, will generate an admin interface and RESTFul API for you to manage your data

  • Publish - Providing a staging environment for all content changes to be reviewed before being published to the live system

  • Transition - A configurable State Machine: define states, events (eg. pay order), and validation constraints for state transitions

  • Media Library - Asset Management with support for several cloud storage backends and publishing via a CDN

  • Worker (Batch processing) - A process scheduler

  • Exchange - Data exchange with other business applications using CSV or Excel data

  • Internationalization (i18n) - Managing and (inline) editing of translations

  • Localization (l10n) - Manage DB-backed models on per-locale basis, with support for defining/editing localizable attributes, and locale-based querying

  • Roles - Access Control

  • And more https://github.com/qor

Live DEMO

Frontend Development

Requires Node.js and Gulp for building frontend files

npm install && npm install -g gulp
  • Watch SCSS/JavaScript changes: gulp
  • Build Release files: gulp release

License

Released under the MIT License.

Extension points exported contracts — how you extend this code

ConfigureMetaInterface (Interface)
ConfigureMetaInterface if a struct's field's type implemented this interface, it will be called after configed [1 implementers]
resource/meta.go
Resourcer (Interface)
Resourcer interface [1 implementers]
resource/resource.go
CurrentUser (Interface)
CurrentUser is an interface, which is used for qor admin to get current logged user
context.go
Migratable (Interface)
Migratable defines interface for implementing post-migration actions such as adding constraints that arent's supported b
test/utils/test_db.go
Metaor (Interface)
Metaor interface
resource/meta.go
ConfigureResourceBeforeInitializeInterface (Interface)
ConfigureResourceBeforeInitializeInterface if a struct implemented this interface, it will be called before everything w
resource/resource.go
ConfigureMetaBeforeInitializeInterface (Interface)
ConfigureMetaBeforeInitializeInterface if a struct's field's type implemented this interface, it will be called when ini
resource/meta.go
ConfigureResourceInterface (Interface)
ConfigureResourceInterface if a struct implemented this interface, it will be called after configured by user
resource/resource.go

Core symbols most depended-on inside this repo

Error
called by 42
errors.go
GetDB
called by 29
context.go
pathto
called by 20
gulpfile.js
ToString
called by 11
utils/meta.go
Get
called by 10
resource/meta_value.go
AddError
called by 9
errors.go
Indirect
called by 7
utils/utils.go
GenCompositePrimaryKey
called by 6
resource/meta.go

Shape

Function 104
Method 76
Struct 24
Interface 10
TypeAlias 1

Languages

Go98%
TypeScript2%

Modules by API surface

resource/meta_test.go47 symbols
resource/meta.go47 symbols
resource/resource.go25 symbols
utils/utils.go20 symbols
resource/crud.go10 symbols
test/utils/test_db.go9 symbols
resource/processor.go8 symbols
errors.go7 symbols
utils/utils_test.go6 symbols
utils/params.go6 symbols
utils/meta.go6 symbols
context.go6 symbols

Dependencies from manifests, versioned

github.com/gosimple/slugv1.9.0 · 1×
github.com/jinzhu/gormv1.9.15 · 1×
github.com/jinzhu/nowv1.1.1 · 1×
github.com/lib/pqv1.8.0 · 1×
github.com/qor/adminv0.0.0-2021062202011 · 1×
github.com/qor/publish2v0.0.0-2020072908150 · 1×
github.com/qor/rolesv0.0.0-2017112703512 · 1×
github.com/qor/sortingv0.0.0-2020072403422 · 1×
github.com/qor/validationsv0.0.0-2017122812263 · 1×
golang.org/x/netv0.2.0 · 1×

For agents

$ claude mcp add qor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact