Quick Start Guide
September 12, 2025 · View on GitHub
Get up and running with DelphiMVCFramework in just 5 minutes!
Prerequisites
- RAD Studio (Delphi 10+ or newer)
- Basic knowledge of Object Pascal/Delphi
Installation
- Download the latest release from GitHub Releases
- Extract the zip file to
C:\DMVC(or your preferred location) - Open the appropriate package group in RAD Studio:
- Delphi 13:
packages\d130\dmvcframework_group.groupproj - Delphi 12:
packages\d120\dmvcframework_group.groupproj - Delphi 11.3:
packages\d113\dmvcframework_group.groupproj - (See INSTALLATION.md for all versions)
- Delphi 13:
- Build and Install the design-time package
- Add library paths in Tools → Options → Language → Delphi → Library:
C:\DMVC\sourcesC:\DMVC\lib\loggerproC:\DMVC\lib\swagdoc\SourceC:\DMVC\lib\dmustache
Create Your First Project
Using the IDE Wizard
- Go to File → New → Other
- Select Delphi Project → DMVC → DelphiMVCFramework Project
- Configure your project settings
- Click OK
- Compile your project (Ctrl+F9)
- Run your application (F9)
- Open your browser and navigate to:
-
http://localhost:8080/api→ Get a "Hello World" response -
http://localhost:8080/api/people→ Get a JSON response
-
Next Steps
Add Database Support with MVCActiveRecord
Check ActiveRecord Middleware Sample
Add Authentication
Check JWT Sample
Explore Samples
All DMVCFramework features have an example in the samples folder.
Useful Resources
- Samples - 40+ examples covering all features
- Installation Guide - Detailed installation instructions
- Official Guide - Comprehensive documentation
- Community - Get help from 6000+ members
Common Issues
Q: I get "Unit not found" errors A: Make sure you've added all library paths correctly in Tools → Options
Q: The server doesn't start A: Check if port 8080 is already in use, or try with a different port
Q: JSON serialization doesn't work A: Ensure your classes have public properties (not just fields)
🎉 Congratulations! You now have a working DelphiMVCFramework server. Explore the samples and buy the Official Guide to learn about advanced features!