Noam Honig

Build and Deploy a Fullstack App with Open Source Tooling

What if your data model, API, and validation rules could all live in one TypeScript class? Build full-stack apps with almost no boilerplate.

Build and Deploy a Fullstack App with Open Source Tooling
#1about 3 minutes

Identifying boilerplate and repetition in full-stack development

Modern full-stack applications often require duplicate code for models, API routes, and validation, which can be simplified by using a single source of truth.

#2about 5 minutes

Building a backend API from a shared entity definition

A shared TypeScript entity decorated with Remult automatically generates a full REST API backend using an Express server.

#3about 3 minutes

Implementing full CRUD operations on the frontend

The Remult repository provides a type-safe client for fetching, filtering, creating, updating, and deleting data with minimal code.

#4about 1 minute

Adding real-time data synchronization with live queries

Replace a standard data fetch with a live query subscription to automatically push real-time data changes to the user interface.

#5about 1 minute

Defining validation rules in a single source of truth

By adding validation logic directly to the shared entity, rules are automatically enforced on both the client-side and the server-side API.

#6about 3 minutes

Refactoring frontend logic into efficient backend methods

Use the @BackendMethod decorator to move complex or data-intensive operations from the frontend to the backend, reducing network calls.

#7about 1 minute

Migrating from a local JSON file to a Postgres database

Switch the data provider in the backend configuration to seamlessly transition from a development JSON database to a production-ready PostgreSQL database.

#8about 3 minutes

Securing the API with authentication and authorization rules

Define access control rules, such as requiring authentication or specific user roles, directly on the entity to secure data and conditionally render UI.

#9about 2 minutes

Preparing and deploying the full-stack app to the cloud

Configure the application for deployment using environment variables and serve static files to deploy it to a cloud platform like Railway.

#10about 2 minutes

Exploring Remult's compatibility with other frameworks

Remult integrates with various frontend frameworks, backend servers, and databases, and can be extended to generate GraphQL or OpenAPI specifications.

#11about 3 minutes

Showcasing the live deployed app and production examples

The successfully deployed application is shared for a live interactive demo, followed by a discussion of real-world production use cases.

Related jobs
Jobs that call for the skills explored in this talk.

job ad

Saby Company
Delebio, Italy

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
LM
Luis Minvielle
Developers share the most interesting tech they ever built
Most people's first thoughts about Hacker News revolve around venture capital, stock prices, company valuations, and $1499 dongles. But what if we told you that Hacker News could also be a place for pure, consummate, wholesome content that tackles ho...
Developers share the most interesting tech they ever built
LM
Luis Minvielle
The Best Upcoming IT Webinars
Now that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
The Best Upcoming IT Webinars

From learning to earning

Jobs that call for the skills explored in this talk.