How quijadajose/lsv works
Project Type & Purpose
• This is a full-stack educational platform focused on teaching Venezuelan Sign Language.
• There are three distinct subprojects:
▪ lsv-backend: A NestJS backend built with a hexagonal (ports and adapters) architecture that handles authentication, users, language management, lessons, quizzes, stages, etc.
▪ lsv-frontend: An Angular-based frontend (mentioned in the README, even if not fully seen in the file tree) that interfaces with the backend services.
▪ lsv-model-trainer: A Python-based machine learning API for training sign detection models, likely leveraging frameworks like TensorFlow or PyTorch.
Extracting Insights from the README
• The README confirms the use of NestJS, TypeORM, and MySQL on the backend and Angular for the frontend.
a. Main Components:
• Client Layer:
– lsv-frontend (Angular UI)
• Application Layer:
– lsv-backend (NestJS application) with its modules (authentication, language, lessons, quizzes, etc.)
• Persistence:
– MySQL database (accessed via TypeORM)
• Machine Learning:
– lsv-model-trainer (Python API for training sign recognition models)
• Additional (if applicable):
– Docker and container orchestration components, indicated by Dockerfile and docker-compose (for consistent deployment across environments)
b. Relationships & Interactions:
• Within the lsv-backend, illustrate how the hexagonal architecture connects the domain (business logic) with the infrastructure (controllers, database adapters, external service interfaces, etc.).
• Database (MySQL) as an external component that the backend interacts with via TypeORM.
c. Architectural Patterns & Principles:
• Hexagonal (ports and adapters) architecture used in lsv-backend by explicitly marking the core domain/use-cases, the application services (ports), and the adapters (controllers, repositories).
• How each major module (auth, language, lesson, etc.) fits into this layered architecture.
d. Technologies & Frameworks:
• NestJS, TypeORM, and MySQL for the backend.
• Angular for the frontend.
• Python (with TensorFlow/PyTorch) for the ML model trainer.
• Mention deployment tools (Docker, docker-compose) where relevant.
Final Touches
• Not only the main high-level components but also expand on the backend’s internal architecture if needed (highlight key modules such as auth, language, lessons, quiz, etc., and how they communicate with shared infrastructure like the database).