How mohamedaminesaadd/frontendprotfolio works
This Angular application is a personal portfolio with a separate AI-chat experience. Visitors enter the portfolio or chat route; the portfolio composes home, about, projects, skills, and contact sections, while chat accepts a message, posts it to an external AI endpoint, and displays the response. The graph captures the documented routing and excerpted chat calls; unsampled page implementations are represented by their exact directories, and no connections are inferred from directory names alone.
Main entry points: portfolio.ts Portfolio composition · app.ts Angular shell · app.routes.ts Route configuration · chat.ts Chat interface
Components 18
Application shell
- Angular shell
src/app/app.ts - Route configuration
src/app/app.routes.ts - Navigation bar
src/app/shared/navbar/navbar.ts - Animated backgrounds
src/app/components
Portfolio sections
- Portfolio composition
src/app/page/portfolio/portfolio.ts - Home section
src/app/page/home - About section
src/app/page/about - Project showcase
src/app/page/projects/projects.ts - Project cards
src/app/shared/project-cart/project-cart.ts - Skills section
src/app/page/skills/skills.ts - Skill cards
src/app/shared/skills-card/skills-card.ts - Contact section
src/app/page/contact/contact.ts
AI chat
- Chat route page
src/app/page/chat-page/chat-page.ts - Chat interface
src/app/shared/chat/chat.ts - Chat message model
src/app/models/chat.model.ts - AI agent service
src/app/services/ai-agent.ts
Other components
- Visitor
- AI chat endpoint
Connections 18
- Visitor → Angular shell: opens
- Angular shell → Route configuration: uses routes
- Angular shell → Navigation bar: renders
src/app/app.ts - Angular shell → Animated backgrounds: renders
src/app/app.ts - Route configuration → Portfolio composition: routes portfolio
src/app/app.routes.ts - Route configuration → Chat route page: routes chat
src/app/app.routes.ts - Portfolio composition → Home section: composes
src/app/page/portfolio/portfolio.ts - Portfolio composition → About section: composes
src/app/page/portfolio/portfolio.ts - Portfolio composition → Project showcase: composes
src/app/page/portfolio/portfolio.ts - Portfolio composition → Skills section: composes
src/app/page/portfolio/portfolio.ts - Portfolio composition → Contact section: composes
src/app/page/portfolio/portfolio.ts - Project showcase → Project cards: renders
src/app/page/projects/projects.ts - Skills section → Skill cards: renders
src/app/page/skills/skills.ts - Chat route page → Chat interface: renders
src/app/page/chat-page/chat-page.ts - Chat interface → AI agent service: sends message
src/app/shared/chat/chat.ts - Chat interface → Chat message model: uses model
src/app/shared/chat/chat.ts - AI agent service → Chat message model: uses request types
src/app/services/ai-agent.ts - AI agent service → AI chat endpoint: posts request
src/app/services/ai-agent.ts