Skip to content
Merged

Dev #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 78 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,85 @@
HabitAi is an application designed to help people boost their productivity using AI (artificial intelligence).
# 🚀 HabitAi

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.
**HabitAi** is an application designed to boost productivity with the help of Artificial Intelligence (AI).

New frontend improvements:
Project is currently under **active development**.

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

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

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

Features such as task management, Eisenhower matrix, Pomodoro timer, and multilingual support for 5 languages are already implemented but still being refined.
* **Frontend:** Flutter, React, Vue
* **Backend:** Symfony (PHP 8.3)
* **Architecture:** Clean Architecture, Domain-Driven Design (DDD), Atomic Design

## ✨ Features

* 📌 **Task Management**
* 🧭 **Eisenhower Matrix** for prioritization
* ⏳ **Pomodoro Timer** for focused work
* 🌍 **Multilingual Support** (5 languages)
* ⚡ **Frontend improvements**:

* **Cache-Then-Network (CTN)** system for optimized data fetching
* **IndexedDB (IDB)** integration for offline access and reduced server load
* Centralized caching and efficient state management

---

## 📦 Installation & Usage

### 1. Clone the repository

```bash
git clone https://github.com/LexaFrontDev/HabitAi.git
cd HabitAi
composer install
npm install
```

### 2. Start Docker containers

```bash
make up-docker-build
```

### 3. Enter PHP container

```bash
make sh
```

### 4. Run migrations

```bash
php bin/console doctrine:migrations:migrate -n
```

### 5. Load fixtures

```bash
php bin/console doctrine:fixtures:load
exit
```

### 6. Start frontend

```bash
npm run
```

### 7. Stop and remove containers

```bash
make down
```

---

## 📌 Project Status

🔧 Under active development.
Stay tuned for updates and new releases!

Stay tuned for updates!
83 changes: 83 additions & 0 deletions README.ru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# 🚀 HabitAi

**HabitAi** — это приложение, созданное для повышения продуктивности людей с помощью искусственного интеллекта (AI).

Проект находится в **активной разработке**.

[🇬🇧 Read in English](README.md)

## 🛠️ Технологический стек

* **Frontend:** Flutter, React, Vue
* **Backend:** Symfony (PHP 8.3)
* **Архитектура:** Clean Architecture, Domain-Driven Design (DDD), Atomic Design

## ✨ Основные возможности

* 📌 **Управление задачами** (Task Management)
* 🧭 **Матрица Эйзенхауэра** для приоритизации задач
* ⏳ **Pomodoro-таймер** для фокусированной работы
* 🌍 **Мультиязычность** (поддержка 5 языков)
* ⚡ **Новые улучшения фронтенда:**

* Реализована система **Cache-Then-Network (CTN)** для быстрой загрузки данных
* Интеграция **IndexedDB (IDB)** для офлайн-доступа и снижения нагрузки на сервер
* Централизованное кэширование и оптимизированное управление состоянием

---

## 📦 Установка и запуск

### 1. Клонирование репозитория

```bash
git clone https://github.com/LexaFrontDev/HabitAi.git
cd HabitAi
composer install
npm install
```

### 2. Поднятие Docker-контейнеров

```bash
make up-docker-build
```

### 3. Подключение к PHP-контейнеру

```bash
make sh
```

### 4. Запуск миграций

```bash
php bin/console doctrine:migrations:migrate -n
```

### 5. Загрузка фикстур

```bash
php bin/console doctrine:fixtures:load
exit
```

### 6. Запуск фронтенда

```bash
npm run
```

### 7. Остановка и удаление контейнеров

```bash
make down
```

---

## 📌 Статус проекта

🔧 В активной разработке.
Следите за обновлениями и новыми релизами!

19 changes: 0 additions & 19 deletions public/react/App.js

This file was deleted.

27 changes: 0 additions & 27 deletions public/react/Component/HabitsPage/Pages/HabitsPage.js

This file was deleted.

Loading