https://github.com/lunzai/flutter-habit-tracker
A Flutter habit tracking app generated almost entirely through Cursor AI, serving as a proof of concept to compare AI code generation tools (Cursor vs GitHub Copilot) and explore the capabilities and limitations of AI pair programming.
https://github.com/lunzai/flutter-habit-tracker
dart flutter flutter-app habit-tracker habit-tracking habits mobile mobile-app mobile-development provider sqlite sqlite-database
Last synced: 8 months ago
JSON representation
A Flutter habit tracking app generated almost entirely through Cursor AI, serving as a proof of concept to compare AI code generation tools (Cursor vs GitHub Copilot) and explore the capabilities and limitations of AI pair programming.
- Host: GitHub
- URL: https://github.com/lunzai/flutter-habit-tracker
- Owner: lunzai
- License: other
- Created: 2024-12-29T06:59:51.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-12-29T07:11:34.000Z (9 months ago)
- Last Synced: 2024-12-29T08:20:05.214Z (9 months ago)
- Topics: dart, flutter, flutter-app, habit-tracker, habit-tracking, habits, mobile, mobile-app, mobile-development, provider, sqlite, sqlite-database
- Language: Dart
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
> [!NOTE]
> Work in progress# AI-Generated Habit Tracker
A Flutter habit tracking application generated almost entirely through Cursor AI. This project serves as a proof of concept to explore and compare AI code generation tools (Cursor AI vs GitHub Copilot) in real-world application development.
## About This Project
This project was developed as a learning experiment to understand the capabilities and limitations of AI code generation tools, specifically:
- How effectively AI can generate a complete, functional application
- Comparing different AI coding assistants (Cursor AI vs GitHub Copilot)
- Understanding where AI excels and where human intervention is necessary
- Exploring AI's approach to architecture, state management, and UI design
- Testing the boundaries of AI pair programming## Features
- 📝 Create and manage habits with detailed goals
- 📊 Track progress with customizable metrics
- 🔄 Support for both one-time and recurring habits
- 📅 Set end dates for time-bound goals
- 📈 Visual progress tracking
- 🗑️ Easy data management with local storage
- 🎯 Flexible goal setting with various units and intervals## AI Development Insights
### Where AI Excels
- Boilerplate code generation
- CRUD operations implementation
- Basic UI components and layouts
- Standard feature implementation
- Database schema design
- State management setup### Where AI Needs Human Input
- Complex business logic
- Edge cases and error handling
- Performance optimization
- Platform-specific implementations
- Advanced architectural decisions
- Security considerations## Technical Stack
- **Framework**: Flutter
- **Language**: Dart
- **State Management**: Provider
- **Database**: SQLite
- **UI**: Material Design 3
- **AI Tool**: Cursor AI## Getting Started
### Prerequisites
- Flutter (2.0 or higher)
- Dart (2.12 or higher)
- Android Studio / VS Code
- Android SDK / Xcode (for iOS development)### Installation
1. Clone the repository
2. Run `flutter pub get` to install dependencies
3. Run `flutter run` to start the application## Project Structure
```
lib/
├── models/ # Data models
├── providers/ # State management
├── screens/ # UI screens
├── services/ # Business logic
├── widgets/ # Reusable components
└── main.dart # Entry point
```## Contributing
While this project primarily serves as an AI generation experiment, contributions are welcome! Please feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Share insights about AI code generation## License
This project is licensed under CC BY-NC 4.0 - see the [LICENSE](LICENSE.md) file for details.
Key points:
- ✅ Free to use and modify for personal projects
- ✅ Must provide attribution
- ❌ Cannot use commercially
- ❌ Cannot sublicense## Acknowledgments
- Cursor AI for code generation
- Flutter team for the framework
- Material Design for UI guidelines
- The developer community for insights on AI code generation## Author
- GitHub: [@lunzai](https://github.com/lunzai)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/heanluen/)This project is experimental and serves educational purposes. While the code is functional, it may not follow all best practices as it was primarily generated by AI.