🏗️
Scafoldr is an open-source developer tool that helps you quickly build and prototype backend applications by generating code from database schema definitions. Whether you're starting with DBML code or brainstorming your database with AI, Scafoldr lets you go from idea to backend in seconds.
1. 🔄 Code Generator
Paste your DBML code and instantly generate clean, structured backend code for your project.
- Supports multiple backend stacks (Node.js, Java, Python – with more to come)
- Clean architecture templates
- Download or preview generated files
Not sure how to structure your database? Just describe your use case and let our AI architect help you draft your DBML schema.
- Interactive AI chat to design your database
- Visual DBML preview (diagram or code)
- Easily convert AI-generated DBML into backend code
- Go to https://scafoldr.com/code-generator
- Paste your DBML or use our example to get started
- Click
Get your code - Fill in your project name and pick your backend
- Download or preview your generated project
Or...
- Go to https://scafoldr.com
- Chat with the AI Architect
- Describe your app or idea
- Receive DBML and tweak it if needed
- Convert it into backend code in one click
- Frontend: Next.js, TailwindCSS, daisyui
- Backend: Python, FastAPI, Jinja2 for templating
- AI: OpenAI GPT models
- Parsing: DBML Parser by Holistics and PyDBML by Vanderhoof
We’re looking for contributors! 🚀
Whether you want to add a new backend template, improve the UI/UX, or help with DBML parsing logic—your help is welcome.
➡️ Check out our CONTRIBUTING.md for guidelines and setup instructions.
If you like what we're building, feel free to:
- ⭐ Star this repo
- 📢 Share it with your team or dev community
- 🗣️ Join the discussion via issues or pull requests
Coming soon! We'll share a few examples of backend projects built with Scafoldr.