MyTick is a project designed to study and implement the new architecture proposed by the Flutter team. The repository contains two primary components:
- Server: A backend server built with Dart and Shelf to handle authentication and task management.
- App: A frontend application built with Flutter to consume the server's API and demonstrate architectural principles in practice.
server/
: Contains the server implementation and a detailedREADME.md
with instructions on how to run and test it.app/
: Contains the Flutter app implementation that interacts with the server.
This project aims to:
- Demonstrate how to use the new architecture proposed by Flutter in a practical scenario.
- Explore concepts such as separation of concerns, state management, dependency injection, and testing.
- Provide a hands-on example of integrating a Flutter app with a Dart backend.
Navigate to the server/
directory and follow the instructions in its README.md
to set up and run the backend server. The server handles:
- Authentication using JWT.
- Task management (CRUD operations).
Navigate to the app/
directory and follow the instructions in its README.md
to set up and run the Flutter application. The app interacts with the server to:
- Authenticate users.
- Display, create, update, and delete tasks.
- This project is intended for learning and demonstration purposes.
- The server uses in-memory storage for simplicity; for production, consider using a database.
- The architecture used in the Flutter app is modular and aligns with best practices to ensure scalability and maintainability.
Feel free to explore the repository and adapt it to your needs!