{"id":17018320,"url":"https://github.com/devprojectekla/flutterclient","last_synced_at":"2026-05-09T10:52:14.684Z","repository":{"id":247813355,"uuid":"826910797","full_name":"DevprojectEkla/FlutterClient","owner":"DevprojectEkla","description":"This Flutter application serves as a client for interacting with a Django API for a blog, focusing on CRUD operations and JWT authentication. The application utilizes Provider for state management and http package for making requests to the API.","archived":false,"fork":false,"pushed_at":"2024-07-10T16:45:11.000Z","size":2094,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T16:47:45.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevprojectEkla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T16:15:34.000Z","updated_at":"2024-07-10T16:45:15.000Z","dependencies_parsed_at":"2024-07-10T20:27:47.143Z","dependency_job_id":null,"html_url":"https://github.com/DevprojectEkla/FlutterClient","commit_stats":null,"previous_names":["devprojectekla/flutterclient"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevprojectEkla%2FFlutterClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevprojectEkla%2FFlutterClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevprojectEkla%2FFlutterClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevprojectEkla%2FFlutterClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevprojectEkla","download_url":"https://codeload.github.com/DevprojectEkla/FlutterClient/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982060,"owners_count":20542300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T06:45:31.880Z","updated_at":"2026-05-09T10:52:09.636Z","avatar_url":"https://github.com/DevprojectEkla.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Blog Client\n\nThis Flutter application serves as a client for interacting with a Django API for a blog, focusing on CRUD operations and JWT authentication. The application utilizes `Provider` for state management and `http` package for making requests to the API.\n\n## Overview\n\nThe Flutter Blog Client is designed to provide a user-friendly interface for accessing and managing blog content hosted on a Django backend. It ensures secure authentication using JWT tokens and supports essential CRUD operations (Create, Read, Update, Delete) for blog posts.\n\n## Preview\n\n![Flutter Blog Client Preview](preview.png)\n\n## Features\n\n- **User Authentication**: Secure login and token-based authentication via JWT.\n- **Blog Posts Management**:\n  - Create new blog posts.\n  - Retrieve a list of blog posts.\n  - View detailed information of individual blog posts.\n  - Update existing blog posts.\n  - Delete unwanted blog posts.\n- **State Management**: Utilizes `Provider` for efficient and scalable state management across the application.\n- **HTTP Requests**: Communicates with the Django API using the `http` package to perform CRUD operations and manage user sessions.\n\n## Setup\n\nTo set up and run the Flutter Blog Client locally, follow these steps:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/DevprojectEkla/FlutterClient.git\n   cd flutter_blog_client\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   flutter pub get\n   ```\n\n3. **Run the Application**:\n\n   ```bash\n   flutter run\n   ```\n\n4. **Configure API Endpoint**:\n   - Open `lib/services/api_service.dart` and set the `baseUrl` variable to point to your Django API endpoint.\n\n## Dependencies\n\nThe Flutter Blog Client relies on the following key dependencies:\n\n- **provider**: State management library for Flutter applications.\n- **http**: Dart package for making HTTP requests.\n- **shared_preferences**: For persisting authentication tokens locally.\n- **flutter_secure_storage**: Secure storage for sensitive data on the device.\n\nTo install these dependencies, add them to your `pubspec.yaml` file and run `flutter pub get`.\n\n`pubspec.yaml`:\n\n```yaml\ndependencies:\nflutter:\nsdk: flutter\nprovider: ^5.0.0\nhttp: ^0.13.3\nshared_preferences: ^2.0.8\nflutter_secure_storage: ^5.2.1\n```\n\n## Usage\n\n### Authentication\n\n1. **Login**: Provide username and password to authenticate with the Django API and obtain a JWT token.\n\n2. **Logout**: Clear the JWT token to terminate the session.\n\n### Blog Posts\n\n1. **Retrieve Posts**: Fetch a list of blog posts from the API.\n\n2. **Create Post**: Add a new blog post with relevant details.\n\n3. **Update Post**: Modify the content of an existing blog post.\n\n4. **Delete Post**: Remove a blog post from the database.\n\n## Contributing\n\nContributions to the Flutter Blog Client are welcome! If you find any issues or have suggestions for improvements, please submit a pull request or open an issue on GitHub.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevprojectekla%2Fflutterclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevprojectekla%2Fflutterclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevprojectekla%2Fflutterclient/lists"}