This is a simple Flutter application integrated with Firebase to demonstrate CRUD (Create, Read, Update, Delete) operations. The app consists of four pagesβCreate, Read, Delete, and Updateβallowing users to manage student records with three input fields: Name, ID, and Degree.
- Create: Add a new student record to Firebase.
- Read: Retrieve and display all student records from Firebase.
- Update: Modify an existing student record.
- Delete: Remove a student record from Firebase.
- Flutter
- Firebase Firestore (Database)
- Flutter installed (Install Flutter)
- Firebase account (Set up Firebase)
- A registered Firebase project with Firestore enabled
-
Clone the repository:
git clone https://github.com/HasithFernando/Student-Management-Application.git
-
Navigate to the project directory:
cd Student-Management-Application -
Install dependencies:
flutter pub get
-
Set up Firebase:
- Add your
google-services.json(for Android) orGoogleService-Info.plist(for iOS) in the respective folders. - Enable Firestore in the Firebase Console.
- Add your
-
Run the application:
flutter run
student-management-application/
βββ lib/
β βββ main.dart
β βββ data/
β β βββ datasource.dart
β βββ models/
β β βββ student.dart
β βββ screens/
β β βββ createpage.dart
β β βββ deletepage.dart
β β βββ readpage.dart
β β βββ update page.dart
β βββ widgets/
β β βββ student_card.dart
βββ pubspec.yaml