Learn is a quiz app designed to educate users about the Solana ecosystem. Users can choose quiz topics, which the app queries using The Grid API, and questions are generated using the Gemini API.
- Topic Selection: Choose from various Solana ecosystem-related topics.
- Question Generation: Utilizes The Grid API and Gemini API for real-time question generation.
- Score Tracking: Tracks and displays user scores.
- Leaderboard: Shows top scores of users.
- Endpoint: The Grid API Documentation
- Data Queried: Solana projects, teams, and companies.
final response = await http.get(Uri.parse('https://thegrid.id/api/projects'));
if (response.statusCode == 200) {
// Parse response and generate questions
} else {
// Handle error
}
- Topic Selection: Choose from various Solana ecosystem-related topics.
- Question Generation: Utilizes The Grid API and Gemini API for real-time question generation.
- Score Tracking: Tracks and displays user scores.
- Leaderboard: Shows top scores of users.
- Flutter installed on your machine. Follow the instructions (Test live here) to install Flutter.
-
Clone the Repository
git clone https://github.com/immadominion/simple_shopping_app.git cd simple_shopping_app
-
Get Flutter Packages
flutter pub get
-
Run the App
flutter run
- You can view a live demo of the app on Appetize.io (here)
lib/
|- main.dart
|- core/
| |- constants/
| | |- enum.dart
|- data/
| |- model/
| |- controllers/
| |- local/
| |- services/
| |- types/
| |- presentation/
| |- screens/
| |- home.dart/
| |- profil.dart/
| |- quiz_list.dart/
| |- quiz.dart/
| |- widgets/
| |- home.dart/
| |- profile.dart/
| |- quiz.dart/
| |- shimmer_loading.dart/
| |- shimmer.dart/
| |- lobator.dart/
|
|- utils/
|- home.dart
|- main.dart
- Main File (lib/main.dart): Contains the main entry point of the app, sets up navigation, and manages the state of the checkout list.
App Backend
- The link aboce contains link to app backend that consumes the grid API directly.