Standard Solid App Framework
Standard Solid is a web-application framework for building highly configurable & decentralized apps using Node.js, Solid, and SKL. It was was created with the goal of making it incredibly easy for developers to build Solid applications. Taking inspiration from the success of Ruby on Rails and Lad, it comes pre-configured with everything needed to create an application that can:
Components.js allows components to be instantiated and wired together declaratively using semantic configuration files. Standard Solid also uses Components-Generator.js to automatically generate the necessary description configurations of all classes. Components are configured in JSON files, which makes it so that changing the configuration does not require any changes to the code.
Solid on Rails utilizes the Data Mapper Pattern to separate an application's domain logic and it's usage of databases to store data. This means that you can create applications that are loosely coupled, and thus hightly scalable and maintainable.
Like in Rails, routes to connect URLs to code for the application's API or web pages are defined in a configuration file. Each route matches a URL pattern and HTTP method to a specific handler (or a chain of handlers). These handlers are defined in JSON using the dependency injection framework Components.js.
Solid on Rails comes with a built in system for scheduling background jobs to be executed outside of the main process. Background job queues can solve many different problems, from smoothing out processing peaks to creating robust communication channels between microservices or offloading heavy work from one server to many smaller workers, etc.
Please ensure your operating system has the following software installed:
Create a Node.js application (if you haven't already):
Install the latest server version from the npm package repository:
npm install --save @comake/solid-on-rails
Add the start command to
"start": "npx solid-on-rails"
Start the server! 🚀
npm run start