{
  "id": 10646320,
  "title": "Stop Writing Boilerplate: Building a Metadata-Driven Node.js Framework from Scratch 🚀",
  "url": "https://urgent.news/2026/09/29/stop-writing-boilerplate-building-a-metadata-driven-node-js-framework",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-29T08:22:13.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/m7amedenho/stop-writing-boilerplate-building-a-metadata-driven-nodejs-framework-from-scratch-4o9l"
  },
  "original_language": "en",
  "account": "Writing boilerplate code for backend projects is time-consuming and often repetitive. As applications grow, the AI-generated code can become hard to maintain. To address this, I created DD Framework, an open-source metadata-driven framework. Instead of manually writing code for each entity, developers can define the data structure in a simple JSON file. The framework then automatically generates the necessary code. DD Framework uses Node.js, Fastify, PostgreSQL, and Knex.js as its core technologies. It revolves around the concept of Entities, where each entity is defined in a JSON file containing details like the table name, primary key type, and fields. For example, to create a Customer module, you would create a Customer.json file specifying the table name, primary key, and field details. This approach streamlines the development process, making applications more predictable and maintainable.",
  "summary": "Let’s be honest: setting up a new backend from scratch is tedious. Even with the rise of AI coding assistants, we often find ourselves generating the same repetitive boilerplate: Models, Controllers, Routes, and Database Migrations for every single entity in our application. As the project scales, this heavily AI-generated code can easily turn into an unmaintainable \"spaghetti\" mess. I wanted a…",
  "key_points": [
    "DD Framework is an open-source metadata-driven Node.js framework",
    "Developers define data structure in JSON files for each entity",
    "Framework generates code automatically using Node.js, Fastify, PostgreSQL, and Knex.js"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}