ionium-framework
Ionium Framework is an
experimental, lightweight library to handle object relations in
TypeScript.
What inspired me?
I have been a long time user of
.NET and its
Entity Framework. I enjoyed having a background framework that would take care of the relations of my entities while keeping my source code clean.
In the meantime, I moved to a
TypeScript framework:
Angular. It is a fascinating frontend solution for single-page applications. However, I quickly encountered the lack of
Entity Framework's help with object relations. I wanted an
EF-like solution for my frontend as well. There are lots of ORM frameworks for
TypeScript, but I wanted something more lightweight. Unlike most ORMs, I am receiving my entities from a
REST API and not from a database.
I knew that
TypeScript has lots of potential, so why not take my very own spin on coding a framework for these needs?
Getting started
Installation
Add
ionium-framework to the dependencies of your
package.json, or hit:
``
sh
yarn add ionium-framework
`
Don't forget to run yarn
after updating the package.json file.
Integration
Ionium Framework operates with decorators and interfaces. You don't need to introduce breaking changes in your code, the framework is just an augmentation to an existing logic.
For a working, documented example please check out the example` directory in the repository.
Documentation
Will be available once I reach a certain level of stability.
License
MIT