Skip to content

A modern, high-performance website for ThinkRED Technologies LLP built with React 19, TypeScript, and TailwindCSS. This website showcases our technology services, company vision, and engineering expertise to international clients.

License

Notifications You must be signed in to change notification settings

thinkredtech/thinkredtech.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ThinkRED Technologies Logo

πŸš€ ThinkRED Technologies Monorepo

Simplify Technology & Experience ✨

Repository Health Build Status Code Quality Security QA Pipeline

Complete monorepo for ThinkRED Technologies company website and infrastructure

Where Engineering Excellence Meets Creative Innovation 🎯


🌟 What Makes Us Different

This monorepo houses the complete digital ecosystem for ThinkRED Technologies - where we transform complex technological challenges into elegant, scalable solutions. Built with modern technologies and engineering best practices, this serves as the primary digital presence for our technology consultancy.

ThinkRED Technologies LLP - Founded by seasoned engineers from Mozilla, Fedora, and Red Hat, we bring enterprise-grade engineering expertise to every project. Think Different. Build Better. Deploy Smarter. πŸ”₯


Technology Stack

Frontend Stack

React TypeScript Vite Tailwind

Modern Frontend Development

  • React 19 with TypeScript for type safety
  • Vite for lightning-fast builds and HMR
  • Tailwind CSS for utility-first styling
  • React Router for client-side navigation
  • React Markdown for documentation rendering
  • ESLint and Prettier for code quality

Backend Stack

Google Apps Script Google Sheets Gmail

Serverless Backend

  • Google Apps Script for serverless execution
  • Google Sheets for structured data storage
  • Google Drive for file management
  • Gmail API for notifications
  • CLASP for deployment automation

Repository Structure

thinkred-monorepo/
β”œβ”€β”€ frontend/               # React frontend application
β”‚   β”œβ”€β”€ src/               # Source code and components
β”‚   β”œβ”€β”€ public/            # Static assets and HTML templates
β”‚   β”œβ”€β”€ docs/              # User-facing documentation (copied from /docs)
β”‚   β”œβ”€β”€ scripts/           # Build and optimization scripts
β”‚   β”œβ”€β”€ vite.config.ts     # Vite configuration
β”‚   └── package.json       # Frontend dependencies and scripts
β”œβ”€β”€ backend/               # Google Apps Script backend
β”‚   β”œβ”€β”€ thinkREDBot.js     # Main backend logic and API endpoints
β”‚   β”œβ”€β”€ deploy.js          # Deployment automation
β”‚   └── package.json       # Backend dependencies
β”œβ”€β”€ docs/                  # Developer and technical documentation
β”‚   β”œβ”€β”€ developer/         # Technical guides and API docs
β”‚   β”œβ”€β”€ operations/        # DevOps and operational guides
β”‚   β”œβ”€β”€ content/           # Content management documentation
β”‚   └── templates/         # Documentation templates
β”œβ”€β”€ scripts/               # Monorepo automation and tools
β”‚   β”œβ”€β”€ task-runner.js     # Unified task management system
β”‚   β”œβ”€β”€ deploy/            # Deployment scripts
β”‚   β”œβ”€β”€ performance/       # Performance optimization tools
β”‚   β”œβ”€β”€ security/          # Security validation tools
β”‚   └── utils/             # Utility scripts and helpers
β”œβ”€β”€ reports/               # Automated reports and analytics
β”‚   β”œβ”€β”€ automated/         # Generated health and status reports
β”‚   β”œβ”€β”€ operational/       # Operational improvement reports
β”‚   β”œβ”€β”€ security/          # Security audit reports
β”‚   └── performance/       # Performance analysis reports
└── README.md              # This file

✨ What We've Built (And What Makes Us Proud)

Feature Description Status ThinkRED Touch
Responsive Design Mobile-first, cross-device βœ… Active Looks great everywhere
Contact Forms Smart contact and applications βœ… Active Intelligent & intuitive
Blog System Markdown-based content βœ… Active Write once, publish beautifully
Admin Dashboard Job management interface βœ… Active Control center mastery
Performance Optimized loading and metrics βœ… Active Lightning fast 97-100 PageSpeed
Security CSP headers and validation βœ… Active Fort Knox level protection
SEO Optimization Search engine optimized βœ… Active Google loves us
Documentation Comprehensive guides βœ… Active Everything explained beautifully
Automated Deployment CI/CD with quality checks βœ… Active Deploy with confidence
Monitoring Health checks and reporting βœ… Active We know before you do

🎯 Fun Fact: We achieved enterprise-grade performance scores (97-100/100 on PageSpeed) while maintaining a beautiful, functional design. That's the ThinkRED difference! | πŸ“± Responsive Design | Optimized for all device sizes | βœ… Active |

| πŸ“ Form Processing | Contact forms and job applications | βœ… Active |

| πŸ“Ž File Upload | Resume uploads for job applications | βœ… Active |

| πŸ“§ Email Notifications | Automated email handling | βœ… Active |

| πŸ“š Documentation System | Markdown-based docs via web interface | βœ… Active |

| πŸ” SEO Optimized | Built for search engine visibility | βœ… Active |


⚑ Quick Start

Ready to dive into the ThinkRED universe? Let's get you up and running in under 5 minutes! πŸš€

Prerequisites

  • Node.js 18+ (LTS recommended) - The foundation of modern web development
  • npm 8+ for package management - Your dependency superhero
  • Git for version control - Because time travel should be easy

Installation & Setup

# Clone the repository (grab the source of awesomeness)
git clone https://github.com/thinkredtech/thinkredtech.github.io.git
cd thinkred-monorepo

# Install all dependencies (monorepo magic ✨)
npm install

# Start development server (where the magic happens)
npm run dev

# View at http://localhost:3000 (your new playground)

Key Commands

# πŸš€ Development Commands
npm run dev              # Start frontend development server
npm run dev:all          # Start all development services (full power mode)

# πŸ—οΈ Building Commands
npm run build            # Build frontend for production
npm run build:all        # Build all components (everything, everywhere)

# πŸ” Quality Assurance Commands
npm run qa               # Run complete quality pipeline (the works)
npm run lint             # Lint code across all workspaces
npm run test             # Run test suites (confidence booster)

# πŸš€ Deployment Commands
npm run deploy           # Deploy to production (ship it!)
npm run deploy:frontend  # Deploy frontend only (focused launch)
npm run deploy:backend   # Deploy backend only (API power)

# πŸŽ›οΈ Task Management Commands
npm run task --help      # Show all available tasks (your command center)
npm run status           # Show workspace status (system health check)

πŸ’‘ Pro Tip: All commands work from the root directory thanks to our unified task management system. No more directory hopping! 🎯


🎯 Quality Assurance Pipeline

NEW! Comprehensive quality checks with a single command:

## πŸ›‘οΈ Run ALL quality checks (lint, test, security, performance, build)
npm run qa

## οΏ½ Fix common issues and run QA
npm run qa:fix

## οΏ½πŸ“Š Alternative commands
npm run quality          # Alias for qa
npm run check           # Alias for qa
npm run validate        # Alias for qa

What gets tested:

  • πŸ“¦ Dependencies & package integrity
  • πŸ“ Code linting (ESLint, Markdown, Links)
  • πŸ’… Code formatting (Prettier)
  • πŸ”€ TypeScript type checking
  • πŸ§ͺ Unit tests
  • πŸ›‘οΈ Security audits & sensitive data scans
  • πŸ—οΈ Build validation
  • πŸ“Š Performance testing (GTMetrix 83%, Lighthouse)
  • πŸ” Documentation quality & health checks

Quality Score: 92.6% (EXCELLENT!)


πŸŽ›οΈ Unified Task Management

This monorepo features a unified task management system that simplifies development workflows:

## πŸ“‹ Show all available commands
npm run help

## πŸš€ Development commands
npm run dev              # Start frontend development
npm run dev:all          # Start all development servers
npm run build            # Build frontend
npm run build:all        # Build everything

## πŸ” Code quality
npm run qa               # 🎯 Complete QA pipeline (NEW!)
npm run lint             # Lint all workspaces
npm run format           # Format all code
npm run type-check       # TypeScript checking
npm run lint:md          # Check markdown formatting
npm run docs:quality     # Full documentation quality check
npm run docs:dashboard   # Generate documentation health dashboard

## πŸ“Š Performance optimization
npm run perf:gtmetrix:enhanced  # πŸš€ GTMetrix 83% score (NEW!)
npm run perf:gtmetrix           # Standard GTMetrix optimization
npm run perf:test               # Lighthouse performance testing
npm run perf:validate           # Pre-deployment validation

## 🚒 Deployment
npm run deploy           # Deploy to production
npm run deploy:frontend  # Deploy frontend only
npm run deploy:backend   # Deploy backend only

## πŸ“Š Monitoring
npm run status           # Show workspace status
npm run backend:logs     # View backend logs

🎯 Key Benefits

  • 🎯 Single Entry Point: All tasks run from root directory
  • ⚑ Parallel Execution: Multiple tasks run simultaneously when safe
  • 🧠 Context Aware: Automatically runs tasks in correct workspace
  • πŸ” Clear Visibility: See exactly what's running where

πŸ“– Complete Guide: docs/TASK_MANAGEMENT.md | πŸ“‹ Quick Ref: TASKS.md


πŸš€ Deployment

🌐 Frontend Deployment

GitHub Pages Hostinger

Primary: GitHub Pages (automatic)
Secondary: Hostinger (zero-downtime deployment)

πŸ“– Zero-Downtime Guide: docs/ZERO_DOWNTIME_DEPLOYMENT.md

⚑ Backend Deployment

Google Apps Script CLASP

Platform: Google Apps Script
Tool: CLASP CLI


πŸ“š Documentation Universe

Everything you need to know, beautifully organized and thoroughly explained. ✨

🎯 For Users

Documentation Description Access
Website Overview Platform introduction and features /docs/website-overview
Company Information About ThinkRED Technologies /docs/company-info
Brand Guidelines Visual identity and style guide /docs/brand-guidelines
FAQ Frequently asked questions /docs/faq

πŸ› οΈ For Developers

Documentation Description Link Why You'll Love It
Setup Guide Complete installation and environment setup Installation Guide Get started in minutes, not hours
Development Workflow Development practices and task management Development Guide Streamlined development experience
Architecture Overview System design and technical architecture System Overview Understand the big picture
API Documentation Backend APIs and integration guide API Reference Everything you need to integrate
Deployment Guide Production deployment procedures Deployment Guide Deploy with confidence
Task Management Unified task runner and development workflows Task Management One command to rule them all
Troubleshooting Common issues and solutions Troubleshooting Guide When things don't go as planned

πŸ’‘ Documentation Philosophy: We believe great documentation is like great code - clear, comprehensive, and enjoyable to work with. Every guide is crafted with love. πŸ’


🀝 Contributing

We welcome contributions! Please read our guidelines:

  • πŸ“‹ Contributing Guidelines: Contributing Guide - Code standards, workflow, and PR process
  • 🀝 Code of Conduct: CODE_OF_CONDUCT.md - Community standards and expectations
  • οΏ½ License: LICENSE - Usage terms and attribution requirements

πŸ› οΈ Project Scripts

🎨 Frontend Scripts

Command Description
npm run dev πŸš€ Start development server
npm run build πŸ—οΈ Build for production
npm run preview πŸ‘€ Preview production build
npm run deploy 🌐 Deploy to GitHub Pages
npm run deploy:github πŸš€ Deploy to GitHub Pages
npm run deploy:ssh πŸ”’ Deploy to Hostinger via SSH
npm run lint πŸ” Run ESLint
npm run type-check βœ… TypeScript compiler check

🧠 Backend Scripts

Command Description
npm run push πŸ“€ Push to Google Apps Script
npm run deploy πŸš€ Deploy to Google Apps Script
npm run logs πŸ“Š View execution logs

βš™οΈ Environment Configuration

Frontend Environment Variables

Create a .env file in the frontend/ directory:

VITE_API_URL=https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec

Backend Configuration

Configuration is managed through Google Apps Script Properties Service.


πŸ†˜ Support

For technical issues or questions:

  1. πŸ“– Check Documentation: Review the relevant docs first
  2. πŸ” Troubleshooting Guide: Check our troubleshooting guide
  3. πŸ› Create Issue: Open a detailed GitHub issue if problems persist

πŸ“„ License

This project is licensed under a custom license that requires attribution to ThinkRED Technologies LLP.

Key Requirements:

  • βœ… Attribution required for any use or derivative work
  • βœ… Credit must be given to ThinkRED Technologies LLP
  • βœ… Original license must be preserved

See the LICENSE file for complete terms and conditions.


πŸ“ž Contact

πŸš€ ThinkRED Technologies LLP

Website Email

Contact us through our website contact form


Built with ❀️ by the ThinkRED Technologies team

"Simplify Technology & Experience"

About

A modern, high-performance website for ThinkRED Technologies LLP built with React 19, TypeScript, and TailwindCSS. This website showcases our technology services, company vision, and engineering expertise to international clients.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •