Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.03 KB

Full stack todo app example

This application is a full-stack todo app example. It uses dart_frog as a backend and flutter as a frontend. It uses melos for managing the monorepo.

Fullstack dart todo

Folder structure

  • packages/backend_dart_frog - dart_frog backend
  • packages/frontend_flutter - flutter frontend
  • packages/todo - shared domain entity and business logic for todo application

Pre-requisites

  1. Install melos cli

     dart pub global activate melos
  2. Install dart frog cli

     dart pub global activate dart_frog_cli
    
  3. Bootstrap the monorepo
    This command initializes the workspace, links local packages together and installs the remaining package dependencies.

     melos bootstrap
     # or
     melos bs

Running the app

  1. Start the backend in dev mode

     melos run frogDev
  2. Start the flutter app in packages/frontend_flutter
    Using favorite editor or flutter run command.