DEPRECATION NOTICE
I've made the decision to deprecate this project. Implementing and maintaining a custom ORM is a very complex job and there are far more mature solutions already available on other platforms.
HOWEVER the concept of this project lives on. I am still passionate about building a platform that makes it super-easy to create business apps in record time, and I am now focussing my efforts on a Kotlin-based CRM platform using the Hibernate ORM, GraphQL and many of the UI elements developed for RevJS. Check it out!... RevCRM.com
RevJS - Rev up your data-driven JS app development!
RevJS is a suite of JavaScript modules designed to speed up development of data-driven JS applications.
The rev-ui
module provides the base set of React components for rendering UIs based on RevJS
models. These components should be combined with anoother rev-ui-* module for
youe chosen UI framework, or used with your own components.
RevJS allows you to
- Define a relational data model using plain JS classes, and built-in or custom field types
- Define custom validation logic directly in your models
- Easily create a GraphQL API to make your models available over the network
- Quickly build a user interface for the web or mobile, using our React higher-order components
Getting Started
-
Check out the Client-side Demo App and its source code
-
Take a look at the Documentation:
Development Status
We're on our way to v1.0.0, and are keen to get more users and contributors on board. You can see what we're currently working in our Github Projects.
Examples
Theres a full set of working examples in the repo but heres a few snippets of code to give you an idea of what RevJS is all about!:
Defining and Using Models
// Define a new Post model; // Add the Post model to a ModelManager;modelManager.registerBackend'default', new InMemoryBackend;modelManager.registerPost; // Create some dataawait modelManager.createnew Post;
Creating a GraphQL API
; api.registerPost, ; ; router.post'/graphql', graphqlKoa;
Building a User Interface
Screenshots
Licence
MIT