[INIT-001] Initial project setup with Clean Architecture (feat)
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
- Implemented Clean Architecture with Domain, Application, Infrastructure, Presentation layers - Added comprehensive project structure following SOLID principles - Created Kubernetes deployment with Helm charts (HPA, PDB, NetworkPolicy) - Configured ArgoCD for automated deployment (production + staging) - Implemented CI/CD pipeline with GitHub Actions - Added comprehensive documentation (handbook, architecture, coding standards) - Configured PostgreSQL, Redis, Celery for backend services - Created modern landing page with Persian fonts (Vazirmatn) - Added Docker multi-stage build for production - Configured development tools (pytest, black, flake8, mypy, isort) - Added pre-commit hooks for code quality - Implemented Makefile for common operations
This commit is contained in:
42
docs/changelog/CHANGELOG.md
Normal file
42
docs/changelog/CHANGELOG.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Changelog
|
||||
|
||||
تمام تغییرات قابل توجه این پروژه در این فایل مستند میشود.
|
||||
|
||||
فرمت بر اساس [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) است،
|
||||
و این پروژه از [Semantic Versioning](https://semver.org/spec/v2.0.0.html) پیروی میکند.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- معماری اولیه پروژه بر اساس Clean Architecture
|
||||
- ساختار پوشههای اصلی
|
||||
- تنظیمات config با Pydantic
|
||||
- Setup PostgreSQL و SQLAlchemy
|
||||
- Setup Redis برای cache
|
||||
- Structured logging با structlog
|
||||
- pytest برای testing
|
||||
- Pre-commit hooks
|
||||
- مستندات جامع (Handbook)
|
||||
|
||||
### Changed
|
||||
- انتقال landing page به ساختار جدید
|
||||
|
||||
## [0.1.0] - 2025-01-24
|
||||
|
||||
### Added
|
||||
- شروع پروژه
|
||||
- Landing page اولیه با Reflex
|
||||
- رنگبندی آبی مطابق لوگو
|
||||
- بخش ویژه WordPress Cloud
|
||||
- Badge "بزودی کنار شما خواهیم بود"
|
||||
- فونت فارسی Vazirmatn
|
||||
|
||||
### Design
|
||||
- Hero section با gradient animations
|
||||
- Service cards
|
||||
- Pricing section
|
||||
- Server comparison table
|
||||
- Testimonials
|
||||
- Contact form
|
||||
- Floating chat button
|
||||
|
||||
69
docs/changelog/known-issues.md
Normal file
69
docs/changelog/known-issues.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# مشکلات شناخته شده (Known Issues)
|
||||
|
||||
این فایل لیست مشکلات شناخته شده و workaround های موقت را نگه میدارد.
|
||||
|
||||
## Format
|
||||
|
||||
هر issue باید شامل:
|
||||
- عنوان
|
||||
- توضیحات
|
||||
- تاریخ کشف
|
||||
- Priority (Critical/High/Medium/Low)
|
||||
- Status (Open/In Progress/Resolved)
|
||||
- Workaround (اگر وجود دارد)
|
||||
- Related tickets
|
||||
|
||||
---
|
||||
|
||||
## فعلا مشکلی گزارش نشده
|
||||
|
||||
پروژه در مراحل اولیه است و هنوز مشکل خاصی گزارش نشده.
|
||||
|
||||
---
|
||||
|
||||
## Template برای Issue های آینده
|
||||
|
||||
```markdown
|
||||
## [ISSUE-001] عنوان مشکل
|
||||
|
||||
**تاریخ کشف**: YYYY-MM-DD
|
||||
**Priority**: Critical/High/Medium/Low
|
||||
**Status**: Open/In Progress/Resolved
|
||||
**نسخه**: X.Y.Z
|
||||
|
||||
### توضیحات
|
||||
توضیحات کامل مشکل
|
||||
|
||||
### Steps to Reproduce
|
||||
1. Step 1
|
||||
2. Step 2
|
||||
3. Step 3
|
||||
|
||||
### Expected Behavior
|
||||
رفتار مورد انتظار
|
||||
|
||||
### Actual Behavior
|
||||
رفتار واقعی
|
||||
|
||||
### Environment
|
||||
- OS: Linux/Windows/Mac
|
||||
- Python: 3.11
|
||||
- Database: PostgreSQL 14
|
||||
|
||||
### Workaround
|
||||
راه حل موقت (اگر وجود دارد)
|
||||
|
||||
### Related
|
||||
- Ticket: #123
|
||||
- PR: #456
|
||||
|
||||
### Notes
|
||||
یادداشتهای اضافی
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## مشکلات حل شده
|
||||
|
||||
(لیست مشکلات حل شده به اینجا منتقل میشود)
|
||||
|
||||
65
docs/changelog/migrations.md
Normal file
65
docs/changelog/migrations.md
Normal file
@@ -0,0 +1,65 @@
|
||||
# Database Migrations History
|
||||
|
||||
این فایل تاریخچه تمام migration های دیتابیس را نگه میدارد.
|
||||
|
||||
## Format
|
||||
|
||||
هر migration باید شامل موارد زیر باشد:
|
||||
- تاریخ
|
||||
- نام فایل migration
|
||||
- توضیحات کامل
|
||||
- جداول/ستونهای تغییر یافته
|
||||
- وابستگیها
|
||||
- دستور rollback
|
||||
|
||||
---
|
||||
|
||||
## Migrations
|
||||
|
||||
### 2025-01-24: Initial Setup
|
||||
|
||||
**Migration**: `pending`
|
||||
**Description**: آمادهسازی اولیه - هنوز migration اجرا نشده
|
||||
**Status**: Pending
|
||||
**Tables**: None yet
|
||||
**Dependencies**: None
|
||||
**Rollback**: N/A
|
||||
|
||||
**Note**: اولین migration در فاز بعدی (phase0-database) ایجاد خواهد شد.
|
||||
|
||||
---
|
||||
|
||||
## Template برای Migration های آینده
|
||||
|
||||
```markdown
|
||||
## YYYY-MM-DD: Title
|
||||
|
||||
**Migration**: `XXX_description.py`
|
||||
**Description**: توضیحات کامل تغییرات
|
||||
**Status**: Applied / Pending / Rolled Back
|
||||
**Tables**:
|
||||
- table_name_1
|
||||
- table_name_2
|
||||
|
||||
**Changes**:
|
||||
- Added column `column_name` to `table_name`
|
||||
- Created table `new_table`
|
||||
- Added index on `column_name`
|
||||
|
||||
**Dependencies**:
|
||||
- Previous migration: XXX
|
||||
|
||||
**SQL Summary**:
|
||||
```sql
|
||||
ALTER TABLE users ADD COLUMN two_factor_enabled BOOLEAN DEFAULT FALSE;
|
||||
```
|
||||
|
||||
**Rollback**:
|
||||
```bash
|
||||
alembic downgrade -1
|
||||
```
|
||||
|
||||
**Tested**: Yes/No
|
||||
**Production Deploy Date**: YYYY-MM-DD
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user