News/Tech News

A Crud Framework for Fullstack Typescript referred to as Remult

Published on may 9, 2023

As a full-stack CRUD library, Remult simplifies development through the use of TypeScript models and a type-safe API client and query builder.

Software development requires the management and synchronization of two data models: server and client data models. A server model specifies how the database and API are structured, while a client model specifies how data is transmitted between the API and the client.

Maintaining separate models and validators, however, can result in redundancy, increased maintenance costs, and the potential for errors when the models are out of sync.

Remult addresses this issue by providing an integrated model that defines the database schema, exposes simple CRUD APIs, and supports client-side integration that enables developers to query the database, all while maintaining type safety.

Entities to be defined

Using decorators, Remult transforms JavaScript classes into Remult Entities. This can be achieved easily by adding the Entity decorator to the class and applying the relevant field decorators to each property.

Using decorators, Remult simplifies the process of creating entities and their associated fields, making the process more efficient and intuitive for developers.

Setup of the server

In order to begin using Remult, you must register it with the chosen server along with the necessary entities.

It is fortunate that Remult offers out-of-the-box integrations with several popular server frameworks, including Express, Fastify, Next.js, Nest, and Koa.

Integration on the client side

The next step is to integrate Remult with the application’s front end after configuring the backend and entities.

Fortunately, Remult’s client integration is library agnostic, meaning that it will work with either browser fetch capabilities or Axios.

As shown in this example, Remult can easily be integrated into the front end of an application, allowing developers to leverage Remult’s power and functionality across the entire stack.

Remult is an open-source project licensed under the MIT license. Remult’s GitHub repository welcomes contributions.

Tech News

ChatGPT Is Fun, but the Future Is Fully Autonomous AI for Code at QCon London img

ChatGPT Is Fun, but the Future Is Fully Autonomous AI for Code at QCon London

A presentation on artificial intelligence (AI) for code writing was given by Mathew Lodge, CEO of DiffBlue, at the…

New Java SE Universal Subscription from Oracle img

New Java SE Universal Subscription from Oracle

Since January 2023, Oracle has announced the new Java SE Universal subscription and pricing, which will replace ..

Our Latest Blog

Mastering Full Stack Python Development with Django A Comprehensive Guide

Mastering Full Stack Python Development with Django: A Comprehensive Guide

Python is a powerful programming language that has taken the world of web development by...
Read More
Mastering Machine Learning A Beginner's Guide to Python

Mastering Machine Learning: A Beginner’s Guide to Python

Welcome to the world of machine learning! With the ever-increasing demand for artificial intelligence and...
Read More
Unlocking the Power of Data Science with Python A Beginner's Guide

Unlocking the Power of Data Science with Python: A Beginner’s Guide

Data science has become an essential part of many industries today, and Python has become...
Read More

Follow Us


Browse LSET presentations to understand interesting…

Explore Now

Get complete guides to empower yourself academically…

Explore Now

Learn about information technology and business…

Explore Now