A React + Tailwind CSS + Framer Motion web application for verifying academic certificate authenticity, built for SIH 2025 Hackathon.
-
Install dependencies:
npm install
-
Start development server:
npm run dev
-
Open your browser: Navigate to
http://localhost:3000
- Go to
/login - Enter any username/password (mock)
- Select a role: Admin, Employer, Admissions, Scholarships, Government
- On login, you'll be redirected to the corresponding dashboard
- All demo data is stored in
src/sample-data/:regionPatterns.json— certificate ID regex, institutions, allowed courses, QR/hash formatssample-verifications.json— ~12 mixed verification recordssample-bulk.csv— sample CSV for the Bulk Uploader
- This is a frontend-only demo. No real PII is collected or sent to a backend.
- All verification logic and datasets are mocked and run in the browser.
src/
├── components/
│ ├── Navbar.jsx # Top navigation bar
│ ├── StatsCard.jsx # Reusable stats display card
│ ├── AlertsTable.jsx # Security alerts table
│ └── BlacklistTable.jsx # Blacklisted institutions table
├── pages/
│ ├── VerifierUpload.jsx # Certificate upload page
│ ├── VerifierResult.jsx # Verification results page
│ └── AdminDashboard.jsx # Admin dashboard with analytics
├── App.jsx # Main app with routing
├── main.jsx # Entry point
└── index.css # Global styles with Tailwind
- Drag & Drop Upload: Interactive file upload with visual feedback
- OCR Preview: Mock extracted certificate details
- Verification Process: Simulated AI analysis with loading states
- Validation Status: Clear ✅ Valid or ❌ Fake indicators
- Detailed Analysis: Breakdown of verification checks
- Confidence Score: Percentage-based authenticity rating
- Action Buttons: Verify another or download report
- Statistics Cards: Total, valid, fake certificates with trends
- Interactive Charts: Pie chart (valid vs fake) and bar chart (by institution)
- Security Alerts: Real-time flagged certificates table
- Blacklist Management: Add/remove suspicious institutions
- Recent Activity: Live feed of system events
- Colors: Primary blue (#3b82f6), Success green (#22c55e), Error red (#ef4444)
- Components: Consistent card design with shadows and rounded corners
- Animations: Framer Motion for smooth transitions and micro-interactions
- Responsive: Mobile-first design with Tailwind CSS
- React 18 - UI framework
- React Router DOM - Client-side routing
- Tailwind CSS - Utility-first styling
- Framer Motion - Animation library
- Recharts - Data visualization
- Lucide React - Icon library
- Vite - Build tool and dev server
The application includes comprehensive mock data for:
- Certificate verification results
- OCR extracted information
- Security alerts and flagged certificates
- Blacklisted institutions
- Analytics and statistics
- Recent activity feed
Build for production:
npm run buildPreview production build:
npm run previewThis application is designed for immediate demo use with:
- No backend required - All data is mocked
- Copy-paste ready - Complete working codebase
- Professional UI - Modern, clean design suitable for presentations
- Interactive features - Drag & drop, animations, and responsive design
Perfect for showcasing your frontend development skills and UI/UX design capabilities!