This Flutter application demonstrates a basic CRUD (Create, Read, Update, Delete) functionality. It uses Riverpod for state management and interacts with a RESTful API provided by crudcrud.com.
- Create: Add new items to the list.
- Read: View the list of items.
- Update: Edit existing items.
- Delete: Remove items from the list.
- Flutter SDK
- Dart
- An IDE such as Visual Studio Code or Android Studio
-
Clone the repository:
git clone https://github.com/ThetMaung2002/crud.git
-
Navigate to the project directory:
cd crud -
Install the dependencies:
flutter pub get
-
Run the application:
flutter run
This application uses the following API endpoint for CRUD operations:
- Base URL:
https://crudcrud.com/api/f5c3405b295b4d2ba7906daf241850ff
The application uses Riverpod for state management. Key providers and state management logic are defined in the lib/providers directory.
The UI components are located in the lib/screens directory. The main screen displays the list of items and provides options to add, update, and delete items.
API calls are handled in the lib/services directory. This includes the implementation of functions to interact with the CRUD API.
Contributions are welcome! Please submit a pull request or open an issue to suggest changes or improvements.
For any questions or feedback, please contact thetmaung013@gmail.com.