How austinemuangstubbs/luminary works
Project Type and Purpose
• The project is a full-stack application that converts user-supplied text into an illuminated manuscript style. The README emphasizes features like text input, style selection, real-time preview, and export capabilities.
• It blends a modern React-based front end with a Node.js backend (as seen in the “server” folder), which handles manuscript processing or conversion logic.
File Structure
• Top-Level Directories:
• client: Contains the React components (e.g., App.js, RenderView.jsx, TemplateCard.jsx) and styling (in the scss subdirectory). This indicates the UI layer.
• server: Holds the backend logic with files like illuminate.js and server.js. This part is likely responsible for processing the conversion of text to manuscripts and handling API requests.
• data: Contains configuration JSON files that likely define manuscript styles, templates, and other properties used during conversion.
• build: Contains bundled assets (bundle.js and HTML) produced by webpack (as configured in webpack.config.js). This suggests the final build output of the client-side code.
• Supporting Files:
• package.json and package-lock.json: Manage dependencies.
• webpack.config.js: Indicates the use of webpack to bundle and manage the frontend assets.
• README.md: Provides a high-level overview and key features of the application.
Architectural Overview
• The system employs a clear separation of concerns:
• Frontend (client): Built with React, this layer handles user interaction (text input, style selection, preview rendering, and displaying export options).
• Backend (server): Likely uses Node.js to process the text, apply the manuscript styling logic (possibly modularized in illuminate.js), and manage API endpoints.
• Data Layer: The “data” folder houses configuration files (and possibly template definitions) that drive how manuscripts are rendered. This can be viewed as a configuration or resource store.
• Build Process: The webpack-based build process takes the client code and produces production-ready bundles in the “build” folder.