https://github.com/gastonduault/polywine
IOS and Android mobile application for managing a connected wine cellar. With Flutter framework and flask API.
https://github.com/gastonduault/polywine
android dart docker docker-compose flask flutter ios python sql wine
Last synced: about 2 months ago
JSON representation
IOS and Android mobile application for managing a connected wine cellar. With Flutter framework and flask API.
- Host: GitHub
- URL: https://github.com/gastonduault/polywine
- Owner: gastonduault
- Created: 2023-12-08T17:54:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T16:11:33.000Z (about 1 year ago)
- Last Synced: 2025-05-24T00:36:29.670Z (11 months ago)
- Topics: android, dart, docker, docker-compose, flask, flutter, ios, python, sql, wine
- Language: Dart
- Homepage:
- Size: 76.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PolyWine
## 📌 Description
**PolyWine** is a mobile application developed with **Flutter** and a **Flask API**, designed to manage a **smart wine cellar**. The application runs on **iOS and Android** and integrates with a physical wine cellar connected via a **Raspberry Pi** in bluetooth🛜.
[](https://www.youtube.com/watch?v=yAzsr4N954w)
## 🎨 UI Design (Figma)
[View Figma Designs](https://www.figma.com/proto/3vyjWRazGmI9xCGPG7ij4v?node-id=0-1&t=0FpNm5Ffpij5tY2E-6)
## 🚀 Installation & Setup
### 📦 **Docker Setup**
#### Ensure you have **Docker** installed and run the following command:
```bash
docker-compose up --build
```
#### if port **error** `3306`:
` ERROR: for mysql Cannot start service mysql: driver failed programming external connectivity on endpoint mysql`
Do next commands:
```bash
sudo service mysql stop
sudo lsof -i :5000
sudo kill -9 PID processus_on_port 3306
sudo docker-compose restart
sudo docker-compose up
```
### 🚀 Flutter Setup
#### Check Flutter SDK
```bash
flutter doctor
```
#### Run the application
```bash
flutter run ./front/lib/main.dart
```
#### Si erreur de dépendance : que flutter ne trouve pas les paquets (exemple: provider)
```bash
cd front
flutter clean
flutter pub get
```
#### flutter http 🔗 api flask
*change the url in the file `front/lib/pages/fetch/url.dart`*
```
final String url = 'http://my_ip:5001/';
```