vania-dart / example

Example project for Vania Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vania Example Project

Getting Started

Clone this repository:

git clone https://github.com/vania-dart/example.git

Configure Your Database

In config/database.dart, replace your database credentials:

DatabaseConfig databaseConfig = DatabaseConfig(
  driver: MysqlDriver(),
  host: '127.0.0.1', // Your server address
  database: 'MyDb', // Database name
  username: 'root', // Username
  password: 'Password', // Password
  port: 3306,
  sslmode: false,
);

Migrate Your Tables

Run vania migrate.

Serve

Run vania serve.

Enjoy!

About

Example project for Vania Framework

License:MIT License


Languages

Language:Dart 95.6%Language:Dockerfile 4.4%