### Start Development Server Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Command to start the web application development server. ```bash # Start the web app npm run dev # Or explicitly npm run dev:web ``` -------------------------------- ### Clone Repository and Install Dependencies Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Steps to clone the Lexora IELTS repository and install all project dependencies, including those for all workspaces. ```bash # Clone the repository git clone https://github.com/trimstrayy/learningLounge.git cd learningLounge # Install all dependencies (root + all workspaces) npm install ``` -------------------------------- ### Import Core Package Utilities Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Example of how to import types, utilities, and constants from the shared '@lexora/core' package into application code. ```typescript // Usage in apps import { TestType, WritingEvaluation, calculateBandScore, formatTime, APP_NAME } from '@lexora/core'; ``` -------------------------------- ### Run Commands in Specific Workspace Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Demonstrates how to execute commands within a particular workspace of the monorepo, such as starting the web app or building it. ```bash # Run command in specific workspace npm run dev --workspace=@lexora/web npm run build --workspace=@lexora/web ``` -------------------------------- ### Web App Environment Variables Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Example of creating a `.env` file in the `apps/web/` directory to configure environment variables for the web application, such as Supabase credentials. ```env VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key ``` -------------------------------- ### Build and Preview Production Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Commands to build the web application for production and preview the production build. ```bash # Build the web app npm run build # Preview production build npm run preview ``` -------------------------------- ### Run Listening Test Audio Script Source: https://github.com/giri-2061/lexoraa/blob/main/scripts/README.md Execute the script to copy audio files and update JSON configurations. Ensure audio files are named correctly and placed in the specified source directory. ```powershell node .\scripts\add_listening_test.js --book 17 --test 3 --src "C:\path\to\your\audio-folder" ``` -------------------------------- ### Monorepo Structure Overview Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Illustrates the directory layout of the Lexora IELTS monorepo, detailing the organization of apps, packages, and configuration files. ```bash lexora-monorepo/ ├── apps/ │ ├── web/ # React + Vite web application │ └── mobile/ # React Native mobile app (coming soon) ├── packages/ │ └── core/ # Shared types, utilities, and constants ├── supabase/ # Supabase Edge Functions and migrations ├── scripts/ # Build and utility scripts └── package.json # Workspace root configuration ``` -------------------------------- ### Run Lint Across All Workspaces Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Command to run the linting process across all workspaces in the monorepo. ```bash # Run lint across all workspaces npm run lint ``` -------------------------------- ### Clean Build Artifacts and Node Modules Source: https://github.com/giri-2061/lexoraa/blob/main/README.md Command to clean all build artifacts and node_modules directories across all workspaces in the monorepo. ```bash # Clean all build artifacts and node_modules npm run clean ``` -------------------------------- ### Magic Link Email Placeholders Source: https://github.com/giri-2061/lexoraa/blob/main/email-templates/Authentication _ Supabase.html These are common placeholders used within Supabase authentication email templates to insert dynamic data. Ensure these placeholders are correctly formatted when customizing your email content. ```html {{ .ConfirmationURL }} {{ .Token }} {{ .TokenHash }} {{ .SiteURL }} {{ .Email }} {{ .Data }} {{ .RedirectTo }} ``` -------------------------------- ### Magic Link Email Body Template Source: https://github.com/giri-2061/lexoraa/blob/main/email-templates/Authentication _ Supabase.html This HTML snippet represents the body of a magic link email. It includes placeholders for dynamic content like confirmation URLs, tokens, and user information. Use this to customize the appearance and content of magic link emails sent to users. ```html
|
© 2026 LoungeLearning. All rights reserved. Practice smarter. Score higher. |