A simple todo app built with Flutter and Appwrite
Appwrite is an end-to-end backend server for Web, Mobile, Native, or Backend apps packaged as a set of Docker microservices. Appwrite abstracts the complexity and repetitiveness required to build a modern backend API from scratch and allows you to build secure apps faster.
Follow our simple Installation Guide to get Appwrite up and running in no time. You can either deploy Appwrite on your local machine or, on any cloud provider of your choice.
Note: If you setup Appwrite on your local machine, you will need to create a public IP so that your hosted frontend can access it.
We need to make a few configuration changes to your Appwrite server.
-
Add a new Flutter App (Android or iOS or both) in Appwrite:
- Android -
io.appwrite.demo_todo_with_flutter
- iOS/Mac OS -
io.appwrite.demoTodoWithFlutter
- Android -
-
Create a project in the Appwrite Console with id
demo-todos
. -
Use the Appwrite CLI to deploy the required collections.
appwrite deploy collections
Follow these instructions to run the demo app locally.
git clone https://github.com/appwrite/demo-todo-with-flutter.git
cd demo-todo-with-flutter
Make lib/constant.dart
using lib/constants.dart.example
as a template.
Now run the following commands and you should be good to go 💪🏼
flutter pub get
flutter run
If you get stuck anywhere, hop onto one of our support channels in discord and we'd be delighted to help you out 🤝