hunteraraujo 0dcdaaf641 Add RestApiUtility Class for HTTP Requests
This commit introduces a new utility class, RestApiUtility, designed to encapsulate all the HTTP request operations.

- Created RestApiUtility class with a constructor that accepts a base URL.
- Added get method to perform GET requests and return data as a Map.
- Added getList method to perform GET requests and return data as a List.
- Added post method to perform POST requests with payload and return data as a Map.

The class uses the http package for making network calls and dart:convert for JSON serialization and deserialization. This centralized approach makes it easier to manage API calls and handle errors across the application.
2023-08-31 14:46:01 -07:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:28:10 +02:00
2023-08-15 00:07:47 +02:00
2023-08-31 14:44:03 -07:00
2023-08-31 14:44:03 -07:00
2023-08-20 19:30:21 +02:00

AutoGPT Flutter Client

Description

This repository contains the Flutter client for the AutoGPT project. The application facilitates users in discussing various tasks with a single agent. The app is built to be cross-platform and runs on Web, Android, iOS, Windows, and Mac.

Features

  • List and manage multiple tasks.
  • Engage in chat conversations related to selected tasks.

Design document

The design document for this project provides a detailed outline of the architecture, components, and other important aspects of this application. Please note that this is a living, growing document and it is subject to change as the project evolves.

You can access the design document here.

Requirements

  • Flutter 3.x
  • Dart 3.x

Installation

  1. Clone the repo:
git clone https://github.com/yourusername/auto_gpt_flutter_client.git
  1. Navigate to the project directory:
cd auto_gpt_flutter_client
  1. Get Flutter packages:
flutter pub get
  1. Run the app:
flutter run

Project Structure

  • lib/: Contains the main source code for the application.
  • models/: Data models that define the structure of the objects used in the app.
  • views/: The UI components of the application.
  • viewmodels/: The business logic and data handling for the views.
  • services/: Contains the service classes that handle communication with backend APIs and other external data sources. These services are used to fetch and update data that the app uses, and they are consumed by the ViewModels.
  • test/: Contains the test files for unit and widget tests.

Responsive Design

The app features a responsive design that adapts to different screen sizes and orientations. On larger screens (Web, Windows, Mac), views are displayed side by side horizontally. On smaller screens (Android, iOS), views are displayed in a tab bar controller layout.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Description
No description provided
Readme MIT 81 MiB
Languages
JavaScript 68.5%
Python 18.3%
Jupyter Notebook 8.3%
Dart 3.4%
C++ 0.4%
Other 0.8%