vania 0.1.7+5 copy "vania: ^0.1.7+5" to clipboard
vania: ^0.1.7+5 copied to clipboard

Fast, simple, and powerful backend framework for Dart built with ❤️

Introduction #

Vania Dart Documentation

Contributing to Vania

Vania is a robust backend framework designed for building high-performance web applications using Dart. With its straightforward approach and powerful features, Vania streamlines the development process for both beginners and experienced developers alike.

Features #

Scalability: Built to handle high traffic, Vania effortlessly scales alongside your application's growth.

Developer-Friendly: Enjoy an intuitive API and clear documentation, making web application development a breeze.

Simple Routing: Define and manage routes effortlessly with Vania's efficient routing system, ensuring robust application architecture.

ORM Support: Interact seamlessly with databases using Vania's powerful ORM system, simplifying data management.

Request Data Validation: Easily validate incoming request data to maintain data integrity and enhance security.

Database Migration: Manage and apply schema changes with ease using Vania's built-in database migration support.

WebSocket: Enable real-time communication between server and clients with WebSocket support, enhancing user experience.

Command-Line Interface (CLI): Streamline development tasks with Vania's simple CLI, offering commands for creating migrations, generating models, and more.

Experience the simplicity and power of Vania for your next web application project

Quick Start 🚀 #

Ensure that you have the Dart SDK installed on your machine.

YouTube Video Quick Start

Quick Start

Installing 🧑‍💻 #

# 📦 Install the vania cli from pub.dev
dart pub global activate vania_cli

Creating a Project ✨ #

Use the vania create command to create a new project.

# 🚀 Create a new project called "blog"
vania create blog

Start the Dev Server 🏁 #

Open the newly created project and start the development server.

# 🏁 Start the dev server
vania serve

You can also include the --vm flag to enable VM service.

Create a Production Build 📦 #

Create a production build:

# 📦 Create a production build
vania build

For production use, deploy using the provided Dockerfile and docker-compose.yml files to deploy anywhere.

Example CRUD API Project Github