Nodal is the MC in MVC. Since Nodal focuses exclusively on getting your scalable data layer live, it's easy to try it out on a small API service in an existing project.
Nodal transparently implements battle-tested server-side design patterns and abstractions from Rails and Django and comes with out-of-the-box Postgres integration, making smart decisions from day one to avoid node.js decision fatigue.
Nodal implements stateless architecture, encouraging scalable distributed services by design, instead of afterthought.
Nodal APIs are built with smart, transparent and modular generators generators. The /users
API endpoint behind this React component was set up with 3 commands: nodal g:model --user
, nodal g:controller --for User
nodal poly:deploy
. Every visitor to Nodal gets their very own user account!
Insert user authentication example
Let's use React's examples, and build a scalable API backend for them and run it live on this page.
React is flexible and provides hooks that allow you to interface with other libraries and frameworks. This example uses marked, an external Markdown library, to convert the textarea's value in real-time.