diff --git a/README.md b/README.md index d25968a..140e3e1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Yimaru Admin Panel +# Rezina Admin Panel -Web admin console for **Yimaru Academy**. Team members manage LMS content (Learn English + Duolingo/IELTS), learners, subscriptions, payments, notifications, RBAC, analytics, and support workflows against the [Yimaru Backend](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) API. +Web admin console for **Rezina Academy**. Team members manage LMS content (Learn English + Duolingo/IELTS), learners, subscriptions, payments, notifications, RBAC, analytics, and support workflows against the [Rezina Backend](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) API. | | | |---|---| -| **Package** | `yimaru-admin` | +| **Package** | `rezina-admin` | | **UI** | React 19 + TypeScript + Vite 7 | | **Styling** | Tailwind CSS 3 + brand design tokens | | **Routing** | React Router DOM 7 | @@ -79,7 +79,7 @@ Companion backend docs: see Backend `README.md` and `docs/*-admin-panel-integrat - **Node.js** 18+ (20 LTS recommended) - **npm** (lockfile: `package-lock.json`) -- Running **Yimaru Backend** with CORS / network access from the Vite origin +- Running **Rezina Backend** with CORS / network access from the Vite origin - Team account with appropriate RBAC permissions --- @@ -88,7 +88,7 @@ Companion backend docs: see Backend `README.md` and `docs/*-admin-panel-integrat ```bash git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git -cd Yimaru-Admin +cd Rezina-Admin npm install @@ -210,7 +210,7 @@ Always check `AppRoutes.tsx` for the canonical path list when adding pages. ## Project structure ``` -Yimaru-Admin/ +Rezina-Admin/ ├── public/ # Static assets ├── docs/ # Front-end integration notes (e.g. course management) ├── src/ @@ -382,15 +382,15 @@ Configure hosting env with production `VITE_API_BASE_URL` at **build time** (Vit | Repo | Role | |------|------| -| [Yimaru-BackEnd](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) | REST API, migrations, Swagger | -| [Yimaru-Admin](https://gitea.yaltopia.com/Yimaru/Yimaru-Admin) | This admin SPA | +| [Rezina-BackEnd](https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd) | REST API, migrations, Swagger | +| [Rezina-Admin](https://gitea.yaltopia.com/Yimaru/Yimaru-Admin) | This admin SPA | --- ## License -Proprietary — Yaltopia / Yimaru Academy. Internal use only unless otherwise licensed. +Proprietary — Yaltopia / Rezina Academy. Internal use only unless otherwise licensed. --- -Developed by **Yaltopia Tech** for **Yimaru Academy**. +Developed by **Yaltopia Tech** for **Rezina Academy**. diff --git a/docs/Yimaru_Admin_Developer_Documentation.docx b/docs/Rezina_Admin_Developer_Documentation.docx similarity index 100% rename from docs/Yimaru_Admin_Developer_Documentation.docx rename to docs/Rezina_Admin_Developer_Documentation.docx diff --git a/docs/course-management-api-integration.md b/docs/course-management-api-integration.md index ed44e64..d268e72 100644 --- a/docs/course-management-api-integration.md +++ b/docs/course-management-api-integration.md @@ -1,6 +1,6 @@ # Course Management API Integration Guide -This document describes the Course Management related APIs used by the admin frontend (`Yimaru-Admin`) and how to integrate them safely. +This document describes the Course Management related APIs used by the admin frontend (`Rezina-Admin`) and how to integrate them safely. It is based on: - `src/api/courses.api.ts` diff --git a/docs/generate_admin_developer_docx.py b/docs/generate_admin_developer_docx.py index 6da7353..9d07af0 100644 --- a/docs/generate_admin_developer_docx.py +++ b/docs/generate_admin_developer_docx.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -"""Generate Yimaru Admin Panel Developer Documentation (.docx).""" +"""Generate Rezina Admin Panel Developer Documentation (.docx).""" from datetime import date from pathlib import Path @@ -9,7 +9,7 @@ from docx.enum.text import WD_ALIGN_PARAGRAPH, WD_LINE_SPACING from docx.oxml.ns import qn from docx.shared import Inches, Pt, RGBColor -OUT = Path(__file__).resolve().parent / "Yimaru_Admin_Developer_Documentation.docx" +OUT = Path(__file__).resolve().parent / "Rezina_Admin_Developer_Documentation.docx" def set_run_font(run, name="Calibri", size=11, bold=False, italic=False, color=None): @@ -126,11 +126,11 @@ def build(): # Title for _ in range(3): doc.add_paragraph() - add_para(doc, "Yimaru Admin Panel", size=28, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=6) + add_para(doc, "Rezina Admin Panel", size=28, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=6) add_para(doc, "Developer Documentation", size=20, bold=True, align=WD_ALIGN_PARAGRAPH.CENTER, space_after=18) add_para( doc, - "A practical guide for engineers building and maintaining the Yimaru Academy admin SPA", + "A practical guide for engineers building and maintaining the Rezina Academy admin SPA", size=12, italic=True, align=WD_ALIGN_PARAGRAPH.CENTER, @@ -138,7 +138,7 @@ def build(): ) add_para( doc, - f"Package: yimaru-admin (React 19 · TypeScript · Vite 7)\n" + f"Package: rezina-admin (React 19 · TypeScript · Vite 7)\n" f"Document generated {date.today().isoformat()}\n" f"Audience: Frontend / full-stack developers working on the admin console\n" f"Source: https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git", @@ -148,7 +148,7 @@ def build(): ) add_para( doc, - "Internal / proprietary — Yaltopia Tech · Yimaru Academy", + "Internal / proprietary — Yaltopia Tech · Rezina Academy", size=9, italic=True, align=WD_ALIGN_PARAGRAPH.CENTER, @@ -159,10 +159,10 @@ def build(): add_heading_custom(doc, "1. Introduction", 1) add_para( doc, - "The Yimaru Admin Panel is the staff-facing web app for Yimaru Academy. Content " + "The Rezina Admin Panel is the staff-facing web app for Rezina Academy. Content " "managers reorder courses at midnight, support agents triage issues, finance peeks at " "revenue charts, and super-admins invite the next teammate—all through this SPA. It does " - "not own business rules; it talks to Yimaru-Backend over HTTPS and presents them safely.", + "not own business rules; it talks to Rezina-Backend over HTTPS and presents them safely.", ) add_para( doc, @@ -273,7 +273,7 @@ main.tsx → App.tsx (session bootstrap) → AppRoutes [ "Node.js 18+ (20 LTS recommended)", "npm (package-lock.json is the source of truth)", - "A running Yimaru Backend reachable from the browser", + "A running Rezina Backend reachable from the browser", "A team account with the permissions you need to test", ], ) @@ -281,7 +281,7 @@ main.tsx → App.tsx (session bootstrap) → AppRoutes add_numbered( doc, [ - "git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git && cd Yimaru-Admin", + "git clone https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git && cd Rezina-Admin", "npm install", "Create .env with VITE_API_BASE_URL (and VITE_GOOGLE_CLIENT_ID if testing Google login)", "npm run dev — usually http://localhost:5173", @@ -626,7 +626,7 @@ npm run build [ "This repo README.md", "docs/course-management-api-integration.md (if present in docs/)", - "Backend README + docs/Yimaru_Backend_Developer_Documentation.docx", + "Backend README + docs/Rezina_Backend_Developer_Documentation.docx", "Backend docs/team-member-invitation-admin-panel-integration.md", "Backend docs/team-member-refresh-token-admin-panel-integration.md", "Backend docs/csv-export-admin-panel-integration.md", @@ -652,7 +652,7 @@ npm run build ) add_para( doc, - "— Yaltopia engineering, for Yimaru Academy admin developers", + "— Yaltopia engineering, for Rezina Academy admin developers", space_before=16, italic=True, ) diff --git a/docs/generate_uat.py b/docs/generate_uat.py index 7dc6367..c787312 100644 --- a/docs/generate_uat.py +++ b/docs/generate_uat.py @@ -1,4 +1,4 @@ -"""Generate Yimaru Admin UAT document from template.""" +"""Generate Rezina Admin UAT document from template.""" from __future__ import annotations import copy @@ -58,16 +58,16 @@ def replace_document() -> None: tables = [Table(child, doc) for child in doc.element.body if child.tag.split("}")[-1] == "tbl"] paragraph_updates: dict[int, str] = { - 0: "UAT Document: Yimaru Admin Panel", + 0: "UAT Document: Rezina Admin Panel", 1: "1. UAT Objective", 2: ( - "To confirm that the Yimaru Admin Panel meets business requirements, role-based access " + "To confirm that the Rezina Admin Panel meets business requirements, role-based access " "expectations, security standards, and operational readiness before production release. " "This panel is used by internal teams to manage learners, learning content, subscriptions, " - "notifications, payments, and platform operations for the Yimaru LMS mobile application." + "notifications, payments, and platform operations for the Rezina LMS mobile application." ), 3: "2. Scope", - 4: "This UAT covers the Yimaru Admin Panel web application, including:", + 4: "This UAT covers the Rezina Admin Panel web application, including:", 5: "Authentication & team onboarding", 6: "Dashboard and analytics", 7: "User management (learners, groups, deletion requests)", @@ -103,7 +103,7 @@ def replace_document() -> None: 41: "Production deployment readiness is confirmed", 42: "7. UAT Test Cases", 43: "A. Authentication, Onboarding & Public Pages", - 46: "B. Yimaru Admin Panel — Core Modules (incl. bulk & scheduled notifications)", + 46: "B. Rezina Admin Panel — Core Modules (incl. bulk & scheduled notifications)", 49: "8. Cross-System UAT Tests", 52: "9. Defect Log", 55: "10. Sign-Off", @@ -137,7 +137,7 @@ def replace_document() -> None: tables[1], [ ["Environment", "UAT / Staging"], - ["Application", "Yimaru Admin Panel (React + Vite SPA)"], + ["Application", "Rezina Admin Panel (React + Vite SPA)"], ["Admin URL", ""], ["API Backend", ""], ["Browsers", "Chrome (latest), Microsoft Edge, Firefox, Safari"], diff --git a/index.html b/index.html index cd76057..70137bb 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,10 @@ - Yimaru Admin + Rezina Admin