How nischaya007/fakenews_majorproject works
This is a React single-page demo for multimodal fake-news verification, not a connected AI service: its API layer defaults to mock analysis data, with an optional backend path. A visitor can explore the overview, submit article text and an optional image, view a simulated processing state and result, and browse saved history. Research and About provide supporting information. The graph follows documented routes and indexed imports; detailed runtime behavior in unsampled modules is not assumed.
Main entry points: App.jsx Router and shell · Result.jsx Result details · api.js Analysis service · History.jsx Analysis history
Components 18
App and navigation
- Router and shell
src/App.jsx - Home overview
src/pages/Home.jsx - About
src/pages/About.jsx
Verification workflow
- Analysis form
src/pages/Analyze.jsx - Progress display
src/components/LoadingPipeline.jsx - Analysis service
src/services/api.js - Result details
src/pages/Result.jsx - Analysis history
src/pages/History.jsx
Shared presentation
- Navbar
src/components/Navbar.jsx - Footer
src/components/Footer.jsx - Pipeline visual
src/components/PipelineVisual.jsx - Confidence ring
src/components/ConfidenceRing.jsx - Status badge
src/components/StatusBadge.jsx - Evidence modal
src/components/EvidenceModal.jsx - Metric bar
src/components/MetricBar.jsx
Research and data
- Research
src/pages/Research.jsx - Mock presets and records
src/data/mockData.js
Other components
- Visitor
Connections 26
- Visitor → Router and shell: opens
- Router and shell → Home overview: routes to
src/App.jsx - Router and shell → Analysis form: routes to
src/App.jsx - Router and shell → Result details: routes to
src/App.jsx - Router and shell → Analysis history: routes to
src/App.jsx - Router and shell → Research: routes to
src/App.jsx - Router and shell → About: routes to
src/App.jsx - Router and shell → Navbar: renders
src/App.jsx - Router and shell → Footer: renders
src/App.jsx - Home overview → Pipeline visual: renders
src/pages/Home.jsx - Home overview → Mock presets and records: uses presets
src/pages/Home.jsx - Analysis form → Analysis service: submits input
src/pages/Analyze.jsx - Analysis form → Progress display: renders
src/pages/Analyze.jsx - Analysis service → Mock presets and records: reads and saves
src/services/api.js - Analysis service → Result details: returns analysis
- Analysis service → Analysis history: persists records
src/pages/History.jsx - Analysis service → Visitor: may call backend
- Analysis history → Analysis service: loads records
src/pages/History.jsx - Result details → Confidence ring: renders
src/pages/Result.jsx - Result details → Status badge: renders
src/pages/Result.jsx - Result details → Pipeline visual: renders
src/pages/Result.jsx - Result details → Evidence modal: renders
src/pages/Result.jsx - Result details → Mock presets and records: uses records
src/pages/Result.jsx - Analysis history → Status badge: renders
src/pages/History.jsx - Research → Metric bar: renders
src/pages/Research.jsx - Research → Mock presets and records: uses data
src/pages/Research.jsx