Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hgschandeepa/flutter-firebase-masterclass-firestore-database-
https://github.com/hgschandeepa/flutter-firebase-masterclass-firestore-database-
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hgschandeepa/flutter-firebase-masterclass-firestore-database-
- Owner: HGSChandeepa
- Created: 2024-07-11T05:19:34.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-13T06:48:22.000Z (4 months ago)
- Last Synced: 2024-07-13T07:48:28.655Z (4 months ago)
- Language: C++
- Size: 265 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple To-Do App - DP Education
This is a simple To-Do app built with Flutter and Firebase Firestore. It allows users to add, view, update, and delete tasks. The app demonstrates the use of CRUD operations with Firebase Firestore in a Flutter application.
## Features
- **Add Task:** Add a new task with a name.
- **View Tasks:** View a list of tasks with their creation and update timestamps.
- **Update Task:** Update the name of an existing task.
- **Delete Task:** Delete a task from the list.## Getting Started
### Prerequisites
- Flutter installed on your local machine. You can download it from [flutter.dev](https://flutter.dev/docs/get-started/install).
- Firebase account and a Firebase project setup. Follow the instructions on [firebase.google.com](https://firebase.google.com/docs/flutter/setup) to create a project and register your app.3. **Configure Firebase:**
- Follow the instructions on the [Firebase website](https://firebase.google.com/docs/flutter/setup) to add your Firebase project to your Flutter app.
- Download the `google-services.json` file for Android and place it in the `android/app` directory.
- Download the `GoogleService-Info.plist` file for iOS and place it in the `ios/Runner` directory.
- Enable Firestore in your Firebase project.4. **Run the app:**
```bash
flutter run
```## Project Structure
```plaintext
lib/
├── main.dart # Entry point of the application
├── models/
│ └── todo_model.dart # Todo model class
├── services/
│ └── todo_service.dart # Service class for Firestore operations
└── pages/
└── home_page.dart # Home page of the app
```