惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
Engineering at Meta
Engineering at Meta
M
MIT News - Artificial intelligence
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
T
Tailwind CSS Blog
小众软件
小众软件
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
博客园_首页
MyScale Blog
MyScale Blog
博客园 - 聂微东
V
Visual Studio Blog
The Cloudflare Blog
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Found a Tool That Generates a Complete .NET 8 or Java S...
hbaswapu · 2026-05-26 · via DEV Community
Cover image for I Found a Tool That Generates a Complete .NET 8 or Java Spring Boot API From SQL Schema in 30 Seconds

hbaswapu

I've been building enterprise APIs
for 15 years.

Every project starts the same way.

Set up the project structure. Write
the controllers. Wire up the services.
Configure the DbContext. Write migration
scripts. Set up Swagger. Add error
handling middleware. Configure CI/CD.
Write the Dockerfile.

Two days minimum. Every single time.

Last week I stumbled across a tool
called ScaffoldBridge that changed
how I think about project setup.

What It Does

You paste a SQL schema:

CREATE TABLE Products (
  Id          INT           NOT NULL PRIMARY KEY,
  ProductName NVARCHAR(100) NOT NULL,
  Price       DECIMAL(18,2) NOT NULL,
  IsActive    BIT           NULL,
  CreatedAt   DATETIME2     NOT NULL
);

CREATE TABLE Categories (
  Id   INT          NOT NULL PRIMARY KEY,
  Name NVARCHAR(50) NOT NULL
);

You choose your stack (.NET 8 or
Java Spring Boot) and click Generate.

30 seconds later you have a complete
project ZIP.


What's in the ZIP

For .NET 8:

YourProject/
├── Controllers/
│ └── ProductsController.cs
├── Services/
│ ├── IProductService.cs
│ └── ProductService.cs
├── Repositories/
│ ├── IProductRepository.cs
│ └── ProductRepository.cs
├── Models/
│ └── Product.cs
├── DTOs/
│ └── ProductDto.cs
├── Data/
│ └── AppDbContext.cs
├── Middleware/
│ └── ErrorHandlingMiddleware.cs
├── database/
│ ├── create_tables.sql
│ ├── drop_tables.sql
│ └── seed_data.sql
├── .github/workflows/
│ └── build.yml
├── Dockerfile
├── .dockerignore
└── Program.cs

For Java Spring Boot (Maven):
your-project/
├── src/main/java/com/company/api/
│ ├── controller/
│ │ └── ProductController.java
│ ├── service/
│ │ ├── ProductService.java
│ │ └── ProductServiceImpl.java
│ ├── repository/
│ │ └── ProductRepository.java
│ ├── model/
│ │ └── Product.java
│ ├── dto/
│ │ └── ProductDto.java
│ └── ApiApplication.java
├── src/main/resources/
│ └── application.properties
├── database/
│ └── create_tables.sql
├── .github/workflows/
│ └── build.yml
├── Dockerfile
├── .dockerignore
└── pom.xml

Not stubs. Not empty methods.
Working CRUD that runs immediately.


The GitHub Push Feature

This is what impressed me most.

After generating you can push
directly to GitHub from the UI.

It:

  1. Creates the repo structure
  2. Pushes all files in one commit
  3. Polls the GitHub Actions workflow
  4. Shows build status in real time
  5. Confirms green build
  6. Docker image pushed to ghcr.io

You go from SQL schema to a verified,
building, Docker-ready GitHub repo
without touching your terminal.


How It Compares to OpenAPI Generator

I've used OpenAPI Generator for years.
Here's the honest comparison:

Feature ScaffoldBridge OAG
SQL input
OpenAPI input
Working code ❌ (stubs)
Web UI ❌ (CLI)
GitHub push
Docker
CI/CD
.NET 8
Java
Free

OpenAPI Generator is great for
generating SDKs in 50+ languages.
ScaffoldBridge is better for getting
a complete server-side project running.

Different tools for different jobs.


The Visual Builder

There's also a visual API builder
where you design entities without
writing SQL or OpenAPI.

Add entities, define properties,
set relationships — then generate
directly from the visual design.

Useful for early-stage projects
where the schema isn't defined yet.


What's Coming

They're adding MCP server generation.

Same concept — paste your schema,
get a hosted MCP endpoint.

Claude Desktop, ChatGPT, and Cursor
can connect to it immediately.

Your AI tools understand your API
design before you write a single
line of backend code.

That's actually a big deal for
AI-first development workflows.


Pricing

Free tier: 5 generations/month
Pro: $49/month for unlimited

Worth trying the free tier first.

scaffoldbridge.io


My Honest Take

It won't replace a good developer.
The generated code is a starting
point not a finished product.

But it eliminates the setup tax
every project pays.

If you spend 2 days on boilerplate
per project and run 10 projects
a year that's 20 days.

ScaffoldBridge turns that into
5 minutes.

The time you save goes into
actual feature development.

That's the value proposition.


Have you tried any scaffold tools
for .NET or Java?

What's your current approach to
eliminating boilerplate?

Drop your thoughts in the comments.