Skip to content

Commit 7307d01

Browse files
authored
Merge pull request #13 from LexaFrontDev/dev
Dev
2 parents 7e20fd6 + c4ea260 commit 7307d01

15 files changed

Lines changed: 161 additions & 34160 deletions

File tree

README.md

Lines changed: 78 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,85 @@
1-
HabitAi is an application designed to help people boost their productivity using AI (artificial intelligence).
1+
# 🚀 HabitAi
22

3-
Currently under active development. The tech stack includes Flutter, React, Vue, Symfony, PHP 8.3, and the architecture follows Clean Architecture principles, Domain-Driven Design (DDD), and Atomic Design.
3+
**HabitAi** is an application designed to boost productivity with the help of Artificial Intelligence (AI).
44

5-
New frontend improvements:
5+
Project is currently under **active development**.
66

7-
Implemented Cache-Then-Network (CTN) system for optimized data fetching and faster response times.
7+
[🇷🇺 Читать на русском](README.ru.md)
88

9-
Integrated IndexedDB (IDB) for persistent client-side caching, allowing offline access and reducing server load.
9+
---
1010

11-
The data layer architecture has been updated to support centralized caching and efficient state management.
11+
## 🛠️ Tech Stack
1212

13-
Features such as task management, Eisenhower matrix, Pomodoro timer, and multilingual support for 5 languages are already implemented but still being refined.
13+
* **Frontend:** Flutter, React, Vue
14+
* **Backend:** Symfony (PHP 8.3)
15+
* **Architecture:** Clean Architecture, Domain-Driven Design (DDD), Atomic Design
16+
17+
## ✨ Features
18+
19+
* 📌 **Task Management**
20+
* 🧭 **Eisenhower Matrix** for prioritization
21+
***Pomodoro Timer** for focused work
22+
* 🌍 **Multilingual Support** (5 languages)
23+
***Frontend improvements**:
24+
25+
* **Cache-Then-Network (CTN)** system for optimized data fetching
26+
* **IndexedDB (IDB)** integration for offline access and reduced server load
27+
* Centralized caching and efficient state management
28+
29+
---
30+
31+
## 📦 Installation & Usage
32+
33+
### 1. Clone the repository
34+
35+
```bash
36+
git clone https://github.com/LexaFrontDev/HabitAi.git
37+
cd HabitAi
38+
composer install
39+
npm install
40+
```
41+
42+
### 2. Start Docker containers
43+
44+
```bash
45+
make up-docker-build
46+
```
47+
48+
### 3. Enter PHP container
49+
50+
```bash
51+
make sh
52+
```
53+
54+
### 4. Run migrations
55+
56+
```bash
57+
php bin/console doctrine:migrations:migrate -n
58+
```
59+
60+
### 5. Load fixtures
61+
62+
```bash
63+
php bin/console doctrine:fixtures:load
64+
exit
65+
```
66+
67+
### 6. Start frontend
68+
69+
```bash
70+
npm run
71+
```
72+
73+
### 7. Stop and remove containers
74+
75+
```bash
76+
make down
77+
```
78+
79+
---
80+
81+
## 📌 Project Status
82+
83+
🔧 Under active development.
84+
Stay tuned for updates and new releases!
1485

15-
Stay tuned for updates!

README.ru.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# 🚀 HabitAi
2+
3+
**HabitAi** — это приложение, созданное для повышения продуктивности людей с помощью искусственного интеллекта (AI).
4+
5+
Проект находится в **активной разработке**.
6+
7+
[🇬🇧 Read in English](README.md)
8+
9+
## 🛠️ Технологический стек
10+
11+
* **Frontend:** Flutter, React, Vue
12+
* **Backend:** Symfony (PHP 8.3)
13+
* **Архитектура:** Clean Architecture, Domain-Driven Design (DDD), Atomic Design
14+
15+
## ✨ Основные возможности
16+
17+
* 📌 **Управление задачами** (Task Management)
18+
* 🧭 **Матрица Эйзенхауэра** для приоритизации задач
19+
***Pomodoro-таймер** для фокусированной работы
20+
* 🌍 **Мультиязычность** (поддержка 5 языков)
21+
***Новые улучшения фронтенда:**
22+
23+
* Реализована система **Cache-Then-Network (CTN)** для быстрой загрузки данных
24+
* Интеграция **IndexedDB (IDB)** для офлайн-доступа и снижения нагрузки на сервер
25+
* Централизованное кэширование и оптимизированное управление состоянием
26+
27+
---
28+
29+
## 📦 Установка и запуск
30+
31+
### 1. Клонирование репозитория
32+
33+
```bash
34+
git clone https://github.com/LexaFrontDev/HabitAi.git
35+
cd HabitAi
36+
composer install
37+
npm install
38+
```
39+
40+
### 2. Поднятие Docker-контейнеров
41+
42+
```bash
43+
make up-docker-build
44+
```
45+
46+
### 3. Подключение к PHP-контейнеру
47+
48+
```bash
49+
make sh
50+
```
51+
52+
### 4. Запуск миграций
53+
54+
```bash
55+
php bin/console doctrine:migrations:migrate -n
56+
```
57+
58+
### 5. Загрузка фикстур
59+
60+
```bash
61+
php bin/console doctrine:fixtures:load
62+
exit
63+
```
64+
65+
### 6. Запуск фронтенда
66+
67+
```bash
68+
npm run
69+
```
70+
71+
### 7. Остановка и удаление контейнеров
72+
73+
```bash
74+
make down
75+
```
76+
77+
---
78+
79+
## 📌 Статус проекта
80+
81+
🔧 В активной разработке.
82+
Следите за обновлениями и новыми релизами!
83+

public/react/App.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

public/react/Component/HabitsPage/Pages/HabitsPage.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)