Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gen AI Research

🎯 Project Overview

This repository contains the source code for the Sivasakthi Science Foundation (SSF) website. The site serves as the foundation's public presence, focusing on its strategic scientific narrative, publications, and internship fellowships.


🧱 Key Architectural Pillars

1. Shift-Left Quality Gate (Vitest + JSDOM)

Testing is integrated directly into the development workflow.

  • Local builds and automated remote pipelines utilize Vitest inside a simulated browser environment.
  • Global mock setups isolate backend configurations (supabase-mocks.jsx), allowing feature parsing and component checking without live network overhead.

2. Database Configuration

  • Powered by a unified cloud client layer leveraging @supabase/supabase-js.
  • Pre-wired with Row-Level Security (RLS) hooks and Role-Based Access Control (RBAC) checkpoints (user, member, leader, admin, superadmin).

3. Absolute Path Aliasing

To prevent broken reference errors and eliminate directory fragmentation, standard absolute shortcuts are explicitly synchronized between the Vite testing engine (vite.config.js) and the Next.js routing processor (jsconfig.json):

  • @/*src/*
  • @componentssrc/components
  • @layoutsrc/components/Layout
  • @stylessrc/styles
  • @dbsrc/services
  • @unitsrc/unitHelper

4. Centralized Styling Over utility-First Bloat

Visual layout consistency is strictly enforced through standard vanilla CSS and centralized custom style declarations (src/styles/variables.scss), anchoring deep academic plum (#2e1065), dark purple backgrounds (#1a0530), lilac accents, and elegant Cormorant Garamond typography.


📁 Workspace Layout Blueprint

sivasakthifoundation/
├── public/                 # Static asset definitions (Logo.png, icons)
├── src/
│   ├── app/                # Next.js App Routing Layer (Server-Side Rendering Hub)
│   │   ├── about/          # Nested content sub-slugs (/about/ourstory, /about/trustees)
│   │   ├── faq/            # Interactive Accordion Page route
│   │   ├── api/            # API routes
│   │   ├── layout.jsx      # Mandatory Next.js layout container shell
│   │   └── page.jsx        # Root Homepage entry view (localhost:3000)
│   ├── components/
│   │   └── Layout/         # Core Persistent UI Layout Wrappers
│   │       ├── Footer.jsx  # Persistent localized footer container
│   │       ├── Header.jsx  # Dynamic dynamic tier dropdown double-header component
│   │       ├── Layout.jsx  # Page structure layout engine wrapper
│   │       └── SEO.jsx     # Next.js Metadata semantic processor
│   ├── services/           # Decoupled backend APIs (@db client initialization instance)
│   ├── styles/             # Global centralized SCSS styles mappings & colors
│   └── unitHelper/         # Shift-Left Testing Gate (setupTests.js, verification files)
├── jsconfig.json           # Next.js Application Route Map shortcuts mapping
├── package.json            # Framework dependencies control
└── vite.config.js          # Vitest execution mapping hub

About

Arogya Sakthi

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages