How 404avinash/exp works
This repository is a learning workspace, not a single integrated product. It is a collection of mostly independent exercises and mini-projects across HTML/CSS/JavaScript, React/Vite, and Java, with a few utility scripts and generated pages. For an architecture diagram, it should be drawn as a portfolio of separate subsystems rather than one end-to-end application.
1. Top-level organization
The repo is grouped by course/lab themes such as Experiments, Testing, FlexBoxx, Unit4_worksheet, Assignment, DEMO, my-apply12, mocktest1, and portfolio. Each of these folders is effectively its own boundary with its own entry page and assets. There is no shared runtime or shared backend across the whole repo.
2. Static front-end exercises
A large portion of the repo is plain static web content: many standalone index.html, style.css, and occasional script.js files. These live in folders like Experiments/Experiment-1 through Experiment-6, Testing, FlexBoxx, Unit4_worksheet, and others. Their data flow is browser-only: HTML renders the UI, CSS handles layout, and JavaScript adds client-side behavior where present.
3. React/Vite application cluster
Several folders are full React apps built with Vite: Assignment, DEMO, mocktest1, my-apply12, Experiments/Experiment-7/student-app, Experiments/Experiment-8/State-Management, and Experiments/Experiment-9/form. These share a common structure: index.html, src/main.jsx, src/App.jsx, CSS files, public, and vite.config.js, plus package.json and lockfiles. The architecture here is a standard client app pipeline: browser loads the Vite entry, React mounts the root component, and local component state drives rendering.
4. Component boundaries inside React apps
The React projects introduce small component-level boundaries such as Student.jsx in DEMO, Student.jsx in Experiments/Experiment-7/student-app, and student.jsx in my-apply12. These suggest reusable UI units rather than large feature modules. State-management and form experiments indicate client-side interaction patterns like input handling, local state, and conditional rendering.
5. Java REST API experiments
Experiments/Experiment-11 and Experiments/Experiment-12 are backend-style Java projects. They contain domain classes like Student.java and Employee.java, controller classes like StudentController.java and EmployeeController.java, and application bootstrap classes such as StudentRestApiApplication.java and EmployeeRestApiApplication.java. The architectural boundary here is a simple REST API layer exposed from Java code, with controller-to-model flow inside the JVM.
6. Domain model and controller flow in Java
The Java experiments follow a conventional layered shape: application startup class initializes the service, controllers accept requests, and model classes represent the data. Even without extra service/repository folders, the diagram should show request handling ending in a controller, then interacting with an in-memory or directly managed domain object. These are self-contained teaching examples rather than production multi-tier services.
7. Coursework and testing sandboxes
The Testing directory contains many standalone HTML demos: calculators, stopwatches, booking pages, timetable pages, forms, and project variants (proj1.html through proj40.html). This area is best modeled as a sandbox of isolated UI prototypes. There is no cross-page dependency; each page is its own browser entry point.
8. Portfolio and personal site content
portfolio is a distinct personal website subtree with pages like index.html, research.html, certificates.html, a stylesheet, and nested journey/certificate content. This is separate from the lab exercises and functions as a static multi-page site. It likely serves as a presentation layer for personal achievements and timeline content.
9. Root-level pages and utility scripts
The repo root also contains standalone files such as index.html, console.js, n.js, style.css, and several one-off HTML pages/folders like home, home_page, form, mT2, mtt-2, and exp3. Utility scripts generate_100_more.ps1 and generate_commits.ps1 indicate some automated file generation or repository maintenance, but they do not form a runtime subsystem.
10. Generated content and scale artifacts
The ai_content directory contains a very large set of generated table_*.html files, suggesting bulk-produced static pages. This is a content generation boundary rather than an application boundary: the files are outputs to be opened directly in a browser, not part of a shared system. For an architecture diagram, this should be represented as generated static artifacts stored alongside the rest of the exercises.
11. Tooling and build systems
The React projects use Vite, npm package management, ESLint configuration, and public/src separation. The Java folders do not show build tooling in the tree, but the presence of *RestApiApplication.java and controllers implies a Spring-style runtime. The rest of the repo is tool-light and browser-native, relying on direct file loading.
12. Overall system view
The correct high-level architecture is a repository of independent educational units: static pages, React client apps, and a few Java REST API exercises. There is no central API gateway, database, or shared service layer connecting the folders. The main “flow” across the repo is not runtime integration but repeated experimentation with front-end layout, client-side state, and basic backend controllers.
Main entry points: index.html Root page · Assignment Assignment app · Experiment-11 Student API · ai_content Table pages
Components 19
Static exercises
Standalone HTML/CSS/JS lab pages and browser-only sandboxes.
- Experiments · Main collection of browser-only experiment pages across HTML, CSS, and occasional JS.
Experiments - Testing · Large set of isolated HTML demos, calculators, timers, forms, and project variants.
Testing - FlexBoxx · Sequential flexbox layout exercises progressing through multiple levels.
FlexBoxx - Unit4 worksheet · Small set of CSS/HTML worksheet problems and answers.
Unit4_worksheet
React/Vite apps
Independent client applications built with Vite and React.
- Assignment app · Standalone React/Vite client app for assignment work.
Assignment - DEMO app · React/Vite demo app with a local student component boundary.
DEMO - mocktest1 app · Standalone React/Vite mock-test application.
mocktest1 - my-apply12 app · React/Vite app with a student component and local styling.
my-apply12 - Student app · React/Vite student app inside Experiment 7.
Experiments/Experiment-7/student-app - State management · React/Vite experiment focused on local client state flows.
Experiments/Experiment-8/State-Management - Form app · React/Vite form-handling experiment.
Experiments/Experiment-9/form
Java APIs
Small backend-style Java REST experiments with controllers and domain models.
- Student API · Java REST exercise with student domain and controller classes.
Experiments/Experiment-11 - Employee API · Java REST exercise with employee domain and controller classes.
Experiments/Experiment-12
Portfolio site
Personal multi-page static site content.
- Portfolio site · Personal multi-page portfolio with research, certificates, and journey content.
portfolio
Generated content
Bulk-produced static artifacts and utility scripts.
- Table pages · Large set of generated HTML content pages opened directly in the browser.
ai_content - Gen scripts · Repository maintenance scripts used to create or expand content.
generate_100_more.ps1
Root pages
Top-level standalone pages and helper scripts in the repository root.
- Root page · Repository root HTML entry point for ad hoc browser use.
index.html - Root style · Shared CSS for root-level static pages.
style.css - Helper scripts · One-off JavaScript and PowerShell helpers for local experimentation and generation.
console.js
Connections 25
- Root page → Root style: styles · Root page uses the shared stylesheet.
- Root page → Helper scripts: scripts · Root page can rely on local helper scripts for behavior or demos.
- Experiments → Root page: entry pages · Contains independent browser entry points and related assets.
- Testing → Root page: entry pages · Contains many isolated demo pages and small UI prototypes.
- FlexBoxx → Root page: entry pages · Contains flexbox practice pages that open directly in the browser.
- Unit4 worksheet → Root page: entry pages · Contains worksheet problems with HTML and CSS files.
- Assignment app → DEMO app: same stack · Both are independent React/Vite client applications.
- Assignment app → mocktest1 app: same stack · Shares the same Vite + React app pattern.
- Assignment app → my-apply12 app: same stack · Shares the same Vite + React app pattern.
- Assignment app → Student app: same stack · Shares the same Vite + React app pattern.
- Assignment app → State management: same stack · Shares the same Vite + React app pattern.
- Assignment app → Form app: same stack · Shares the same Vite + React app pattern.
- DEMO app → DEMO app: component · Contains a local student component boundary.
- Student app → Student app: component · Contains a Student component boundary within the app.
- my-apply12 app → my-apply12 app: component · Contains a student component boundary within the app.
- State management → State management: state flow · Client-side state drives rendering and interaction.
- Form app → Form app: form flow · Input handling and local form state drive rendering.
- Student API → Employee API: same layer · Both are small Java REST-style teaching examples.
- Student API → Student API: controller→model · Controller routes request handling to the student domain model.
- Employee API → Employee API: controller→model · Controller routes request handling to the employee domain model.
- Portfolio site → Root style: styles · Static portfolio pages are styled by a local stylesheet.
- Portfolio site → Root page: site root · Multi-page static presentation site separate from the lab exercises.
- Table pages → Gen scripts: produced by · Bulk static pages are consistent with repository generation utilities.
- Table pages → Root page: browser output · Generated pages are standalone browser artifacts rather than an app runtime.
- Experiments → Table pages: same medium · Both are browser-opened static HTML artifacts.