सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
वेनिया डार्ट के लिए एक तेज, सरल और शक्तिशाली बैकएंड फ्रेमवर्क है, जो स्केलेबल वेब सर्वर और एपीआई बनाने के लिए डिज़ाइन किया गया है। प्रदर्शन और डेवलपर अनुभव को महत्व देते हुए बनाया गया, यह विभिन्न प्लेटफॉर्म पर सर्वर-साइड एप्लिकेशन के लिए हल्का लेकिन विश्वसनीय आधार प्रदान करता है। वेनिया डेवलपर्स को न्यूनतम बॉयलरप्लेट के साथ कुशल बैकएंड सेवाएं बनाने में सक्षम बनाता है, आधुनिक वेब डेवलपमेंट वर्कफ्लो का समर्थन करता है। इसकी मॉड्यूलर आर्किटेक्चर मौजूदा प्रोजेक्ट में बिना किसी दिक्कत के एकीकरण या स्वतंत्र सर्वर डेप्लॉयमेंट के लिए अनुमति देती है। फ्रेमवर्क ऐसी टीमों के लिए आदर्श है जो Android, iOS, macOS, Windows और Linux पर चलने वाले डार्ट-नेटिव समाधान की तलाश में हैं।
उपयोग
RESTful APIs का निर्माण
रियल-टाइम सर्वर एप्लिकेशन्स
माइक्रोसर्विस आर्किटेक्चर
क्रॉस-प्लेटफॉर्म बैकएंड सेवाएं
प्रोटोटाइपिंग बैकएंड लॉजिक
मुख्य विशेषताएँ
उच्च प्रदर्शन
न्यूनतम बॉयलरप्लेट
क्रॉस-प्लेटफ़ॉर्म समर्थन
मॉड्यूलर डिज़ाइन
निर्मित रूटिंग
इनके लिए उपयुक्त
डार्ट विकासकर्ता
फुल-स्टैक एप्लिकेशन्स
Flutter ऐप में सर्वर-साइड तर्क
त्वरित बैकएंड प्रोटोटाइपिंग
बहुपлатफॉर्म डेप्लॉयमेंट
विचार योग्य बातें
परिपक्व फ्रेमवर्क की तुलना में सीमित पारिस्थितिकी तंत्र
प्रारंभिक उपयोग
Dart एसिंक पैटर्न के बारे में समझना आवश्यक है
भारी डेटाबेस लोड के लिए अनअनुकूलित
नए उपयोगकर्ताओं के लिए सीखने का ढलान
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Vania
A fast, simple, and unapologetically batteries-included backend framework for Dart.
Dart is a great language for writing servers — it's fast, it AOT-compiles to a single
binary, and if you already ship Flutter you know it. What it has been missing is the
boring, unglamorous infrastructure every real backend ends up needing: routing,
validation, an ORM, migrations, auth, sessions, a job of a CLI to tie it all together.
Vania is that infrastructure. If you've written Laravel, most of it will feel familiar.
If you haven't, it should still feel obvious.
Quick start
dart pub global activate vania_cli
vania create my_api
cd my_api
vania serve
Your server is on http://localhost:8000, and vania serve reloads it whenever you
save a Dart file.
Vania's ORM, query builder, migrations, seeders, and relations all live in the core
package. Drivers are thin — they translate the shared contract to a real connection and
nothing more. In practice that means your application code imports one thing:
import'package:vania/database.dart';
and the driver name appears exactly once, in main.dart:
registerMysqlDriver(); // or registerPostgresqlDriver() / registerMongodbDriver()
Swapping MySQL for PostgreSQL is a one-line change. Models, relations
(hasMany, belongsTo, belongsToMany, and the full morph family), migrations, and
query-builder calls come along unchanged, because none of them ever belonged to the
driver in the first place.
Issues and pull requests are welcome — see CONTRIBUTING.md. If you're
fixing a bug, a failing test that reproduces it is the fastest way to get the fix merged.