A Flutter-based social media feed application that allows users to view, create, and interact with posts.
- View a feed of posts
- Create new posts with text and optional images
- Pagination for loading more posts
- Responsive design for various screen sizes
- Flutter
- Dart
- Hive (for local data storage)
- Flutter SDK (latest stable version)
- Dart SDK (latest stable version)
- An IDE (e.g., Android Studio, VSCode)
- Clone the repository:
- Navigate to the project directory:
- cd social-media-feed-app
- Install dependencies:
- flutter pub get
- Generate Hive adapters:
- flutter packages pub run build_runner build
To run the app in debug mode:
- flutter run
lib/
├── main.dart
├── models/ │ └── post.dart
├── screens/ │ ├── feed_screen.dart │ ├── post_detail_screen.dart │ └── create_post_screen.dart
├── services/ │ └── post_service.dart
├── utils/ │ └── responsive_sizer.dart
└── widgets/ └── post_card.dart
To run the tests:
- flutter test