New Reactive Database Feature

Nowadays, any application requires data. From recording your purchases to counting likes on posts, data are everywhere. Still, creating and managing a database will require you to deploy dedicated resources to this matter. Your Database needs to run in a dedicated server that is reliable and scalable. You will also need to know how to secure access and make sure your data stay safe against hackers.

# What's new

Our new "Reactive Database" feature will solve these issues without requiring any more work on your side. Reactive Database lets you have full control of your data without the hassle of having to manage it. You can now create/read/update/delete (CRUD) all the data you want and organize them the way you wish to through collections. You can also react to any changes in your Database and connect workflows to automatically trigger specific features based on your data flow, making your application truly data-driven. Each project has a unique, private, and secure database.

Moreover, your data are accessible through the console, so you see what is happening in your product in real-time.

Database

# Why it matters

Data are the core of every business, but setting up a database is often too complicated or risky for most entrepreneurs. It can also be a nightmare to scale up your Database when your company is getting bigger. Our Reactive Database feature lets you have all that without having to manage anything. We create a new secure and scalable database automatically when you create a project allowing you to focus on what to put in it to make your business grow. Applications now need to be reactive and data-driven. It's an excellent scalable way to improve a product and add many features without having a nightmare making all these features together. Liteflow embraces this philosophy and highly recommend to follow it to build features rapidly and efficiently.

# How to use it

To write or do any reading action with the Reactive Database feature, you need to create a workflow with a specific task that used the database features.

# liteflow.yml
workflows:
  database-write:
    steps:
      ...
      - type: task
        service: database
        taskKey: create
        inputs:
          collection: my-collection
          value:
            foo: bar
      - ...

You can also react to some events from the Database and connect any task you want.

# liteflow.yml
workflows:
  react-to-data-creation:
    steps:
      - type: trigger
        service: database
        eventKey: onCreated
      - ...

It will automatically trigger your workflow every time you add data to your Database.


Make sure to check out the Database documentation.

New to Liteflow? Code and launch your applications quickly with a backend framework and integrated cloud solution. Visualize and manage applications anytime with the console. Sign up for free and deploy your idea in seconds!



play icon developers icon

Liteflow is designed for business

Discover Liteflow

Increase your product development speed

Grow your business faster with the Liteflow Toolkit for Lean Software Development

Sign up for free

No credit card required