This is a simple To-Do List app built using Flutter. The app allows users to add and delete tasks, sort tasks by date and completion status, and filter tasks by their completion status.
- Add Task: Users can add new tasks with a title and a due date.
- Delete Task: Users can delete existing tasks.
- Sort Tasks: Tasks are automatically sorted by their due date and completion status.
- Filter Tasks: Users can filter tasks to show only completed or uncompleted tasks.
Before you begin, ensure you have met the following requirements:
- Dart SDK: Install the latest version of Dart SDK. You can download it here.
- Flutter SDK: Install the latest version of Flutter SDK. You can download it here.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Clone the repository:
git clone https://github.com/Filbert88/to-do-app-mobile.git
- Navigate to the project directory:
cd to-do-app-mobile
- Install dependencies:
flutter pub get
- Run the App:
flutter run
1.Build the release APK:
flutter build apk --release
- Locate the APK:
location: build/app/outputs/flutter-apk/app-release.apk
To try the apk, you can download it on https://drive.google.com/drive/folders/1ZpQScuVXd6t_pWbIl7eOBWkLL7GXQugV?usp=sharing
This application interacts with the Todo Task API hosted at https://to-do-app-ez.vercel.app/.
- URL:
/api/trpc/task.getTasks
- Method:
GET
- Description: Fetch all tasks from the server.
- URL:
/api/trpc/task.addTask
- Method:
POST
- Description: Add a new task to the server.
- URL:
/api/trpc/task.deleteTask
- Method:
POST
- Description: Remove a specific task from the server.
- URL:
/api/trpc/task.markTaskCompleted
- Method:
POST
- Description: Mark a specific task as completed.
- URL:
/api/trpc/task.markTaskUncompleted
- Method:
POST
- Description: Mark a specific task as incomplete.
- Flutter: UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase
- Dart: Client-optimized programming language for apps on multiple platforms