Urgent.News

What's breaking now, across thousands of outlets.

Tech

I got tired of building the same backend twice, so I built a tool that generates it for me

Every time I shipped a product that needed both a mobile app and a web app, I ended up doing the same thing: build the backend, build the Flutter app on top of it, then build a whole separate Next.js app on top of the same data, and keep both in sync by hand every time the schema changed. That got old fast. So I built Underpeaks. How it actually works You define your data model once in the…

Every time I shipped a product that required both a mobile app and a web app, I found myself recreating the same backend, app, and codebase, all while maintaining synchronization whenever the data schema changed. This repetitive process became tedious and time-consuming. To alleviate this frustration, I developed a tool called Underpeaks.

Underpeaks operates by having you define your data model once through a console interface, specifying fields, types, and relationships. From this single schema, the tool automatically generates: a Flutter app utilizing Riverpod, Provider, or BLoC for state management; a Next.js app with Zustand, React Query, or Jotai; a REST API; and an admin dashboard complete with KPIs and charts, if desired.

What sets Underpeaks apart is its flexibility regarding the database choice. Five adapters are included by default: Supabase, Postgres, MySQL, MongoDB, and Firebase. Regardless of which database you select, the interface remains consistent, allowing seamless transitions if you ever need to switch databases. Underpeaks Core itself is free and open source, running on your own infrastructure without any ties to third-party services.

An alternative hosted version, Underpeaks Studio, is also available for those who prefer not to manage their own deployment.

The tool was launched on Product Hunt today, inviting feedback from others who have encountered similar challenges in backend development. I welcome any comments regarding the architecture, tradeoffs, rough edges, and overall experience. As it is a solo build, there is ample opportunity for improvement and refinement.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A .docx does not store where its pages end

Someone handed me a Word proposal last week and asked whether converting it to HTML would look exactly like Word. I said no. They thought I was dodging.

  • .docx files do not store page end information
  • HTML conversion changes page numbers and layout
  • Discrepancies arise from font availability and printer metrics

Kubernetes Architecture

🚀 Kubernetes Architecture Explained Before diving into Kubernetes architecture, let's first understand why Kubernetes is preferred for running containerized applications in production environments.

  • Kubernetes simplifies managing containerized apps in production
  • Control Plane includes API Server, Scheduler, etcd, and Controller Manager
  • Worker Nodes run application workloads on Pods

RemoteMac

I wanted to control my Mac from my iPhone from anywhere , not just when both devices are on the same Wi-Fi. So I built RemoteMac — an open-source remote control app for macOS + iOS.

  • RemoteMac enables Mac control from iPhone
  • Direct device-to-device screen transmission
  • Open-source project seeking contributors

More from Thursday 24 September →