Quiz With Flutter
A simple Quiz App built with Flutter and Appwrite
Getting Started
Install Appwrite
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 and enter application id of your application (
io.appwrite.quiz
etc).
- Create a new API Key from Api Keys section
- Update
load_questions.dart
with your ownendpoint
,project id
andapi key
. - Run
flutter pub get
to get the dependencies and then runload_questions.dart
usingdart <path_to_dir>/load_questions.dart
- In the appwrite console in your project, it will create new collection, the collection id is also printed at the end of the script in the console. Get the id of that collection and update
lib/constants.dart
with your ownednpoint
,project id
andcollection id
Run the Application
First get the dependencies by running flutter pub get
. Then you can run the application simply using flutter run
command. It works on Android, iOS and Web platforms.
Support
If you get stuck anywhere, hop onto one of our support channels in discord and we’d be delighted to help you out
Help Wanted
Our access credentials were recently compromised and someone tried to ruin these demos. They decided to leave behind 15 easter eggs for you to discover. If you find them, submit a PR cleaning up that section of the code (One PR per person across all the repos). You can track the number of claimed Easter Eggs using the badge at the top.
The first 15 people to get their PRs merged will receive some Appwrite Swags . Just head over to our Discord channel and share your PR link with us.
Download integrating between Appwrite & Flutter source code on GitHub
Provides the list of the opensource Flutter apps collection with GitHub repository.