-
Knex
A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
-
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.
If you decide to do Postgres without an ORM, take a look at Slonik. Slonik is not an ORM, but it has some utilities to assist in database connection, prevent unintentional SQL injections, and provide some type safety features. There's also a companion library to assist in building migrations.
I try to avoid ORMs these days. It's an overkill for a small win. Raw queries are great but code tends to get messier as we move forward. Instead you can use a query builder like knex (https://github.com/knex/knex).