An example Flutter counter application that connects to a Dolt database. Includes branch and pull request workflows.
Learn more about this application in this blog.
This project is a starting point for a Flutter - Dolt application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
In order to connect to a Dolt database, you must add your database connectivity
information. This is done using a .env
file.
First create a new .env
file in the root of this application. It must have the following
fields:
DB_HOST="my.host.name"
DB_PORT=3306
DB_USER="root"
DB_PASS="xxxxxxxxxxxxxxxxxx"
DB_NAME="mydb"
Then when you run this application, you should see the counter and branches from your Dolt database populated on the home screen.