Skip to content

codekeyz/dart-blog

Repository files navigation

Dart Blog Backend

dart codecov

Setup

$ dart pub get && dart run build_runner build --delete-conflicting-outputs

Migrate Database

$ dart run --enable-asserts bin/tools/migrator.dart migrate

Start Server

$ dart run --enable-asserts

Tests

$ dart test

Contribution & Workflow

We rely heavily on code-generation. Things like adding a new Entity, Middleware, Controller or Controller Method require you to re-run the command below.

$ dart pub run build_runner build --delete-conflicting-outputs