Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 580 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 580 Bytes

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!