To setup and run this project, Install Melos
as a global package via pub.dev
;
$ dart pub global activate melos
then initialize the workspace using the command below
$ melos bootstrap
This project consists of a Backend using Yaroo & Flutter Web for the frontend. You'll need to run this command so Flutter web can be bundled into the public
folder.
$ melos build:backend
We rely heavily on code-generation. Things like adding a new Middleware
, Controller
, Controller Method
require you to re-run the command below.
$ dart pub run build_runner build --delete-conflicting-outputs
This project comes with a CLI for running migrations on your database. There are only 3 main commands for now. migrate
, migrate:reset
and migrate:rollback
.
$ dart run bin/tools/migrator.dart <command-goes-here>
The project uses sqlite
by default. You can configure it to use MariaDB
or MySQL
.
$ dart run
$ dart test