Scafoldr helps developers quickly build backend applications by generating clean, structured code from database schemas. Simply describe your project idea and our architect assistant will help you design the database schema, which is then used to generate your backend code.
We focus on static code generation using proven templating techniques rather than unpredictable generation methods. This ensures you get consistent, maintainable code that follows established patterns and best practices.
Our generation process is straightforward and reliable:
- Schema Design: Describe your application idea to our architect assistant, which helps you create a proper database schema in DBML format
- Static Generation: Our templating engine converts your DBML schema into clean backend code using pre-built, tested templates
This two-step approach gives you the benefits of automated assistance for database design while ensuring the generated code is predictable and follows industry standards.
- Chat with our architect to design your database schema
- Get suggestions for tables, relationships, and data types
- Visual diagram preview of your database structure
- Export to DBML format for code generation
- Node.js with Express and Sequelize
- Java with Spring Boot and JPA
- Python with FastAPI and SQLAlchemy
- Clean project structure with separation of concerns
- Ready-to-run applications with proper configuration
- Live preview of generated code
- Visual database diagram editor
- Download complete projects as ZIP files
- Modern web interface with dark/light themes
Note: Some features are still in development and will show a "Coming Soon" modal when accessed. We're actively working on expanding our capabilities.
# Clone our repo
git clone https://github.com/scafoldr/scafoldr.git
# Navigate to project directory and set up environment variables
cd scafoldr
cp .env.example .env
# Edit .env file to add your OPENAI_API_KEY (required for AI features)
# Start all services with Docker
docker compose up -d
# Once running, the app will be available at http://localhost:80
For running without Docker, see alternative setup instructions:
- Visit scafoldr.com
- Describe your application idea in the chat interface
- Work with the architect assistant to refine your database schema
- Review the generated database diagram
- Choose your preferred backend framework
- Download your generated project
E-commerce Platform
An online store with products, categories, customers, orders, and inventory tracking"
→ Generates 8 database tables with proper relationships
→ Complete REST API with CRUD operations
→ Authentication and authorization setup
Task Management System
A project management tool with teams, projects, tasks, and user assignments"
→ Generates user management and team structure
→ Task tracking with status and priority
→ Role-based access control
- Frontend: Next.js, React, TailwindCSS, TypeScript
- Backend: Python, FastAPI, Jinja2 templating
- Database Support: PostgreSQL, MySQL, SQLite (COMING SOON)
- Deployment: Docker, Docker Compose
- ✅ Node.js + Express - REST API with Sequelize ORM
- ✅ Java + Spring Boot - Full Spring ecosystem with JPA
- 🔄 Next.js - Enterprise-grade applications
- 🔄 Python + FastAPI - Modern async API with SQLAlchemy
Scafoldr is actively developed with new features being added regularly. Some functionality may show "Coming Soon" modals as we work on implementing additional capabilities. Current focus areas include:
- Expanding framework support with Full Stack apps
- Advanced deployment options
- Team collaboration features
We welcome contributions! Whether you want to:
- Add support for new frameworks
- Improve existing templates
- Enhance the user interface
- Fix bugs or improve documentation
See our Contributing Guide for detailed instructions.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Website: scafoldr.com
- Documentation: [Coming Soon]
- Community: GitHub Discussions
- Discord: Join our Discord
- Issues: GitHub Issues