-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
To build the CRUD operations fast and efficiently, I'll use Remult, a CRUD framework that was built for Node.js but also works great with Deno.
The resulting code of this (very) short tutorial can be found in this GitHub repository.
We'll need a new Postgres instance to connect to. I used these instructions from the Deno Deploy docs to set up an instance on Supabase.
Fresh is a full-stack framework for Deno that makes it easy to develop apps with TypeScript. Let's use it to build a simple Todo app with full CRUD capabilities.
// routes/_middleware.ts import { remultFresh } from "remult/remult-fresh"; import { Task } from "../model/task.ts"; import { createPostgresConnection } from "https://deno.land/x/remult/postgres.ts"; export const remultServer = remultFresh({ entities: [Task], dataProvider: async () => { const dbUrl = Deno.env.get("DATABASE_URL"); if (dbUrl) { return createPostgresConnection({ connectionString: dbUrl }); } return await undefined; }, }, Response); export const handler = remultServer.handle;