A comprehensive gemological platform for certificate verification and management.
- Certificate Verification: Verify authentic diamond certificates using reference numbers
- Admin Dashboard: Upload and manage certificates with advanced search capabilities
- Professional Interface: Clean, responsive design optimized for gemological professionals
- Secure Database: PostgreSQL backend with proper authentication and validation
- File Management: Secure certificate file uploads with 50MB support
- Frontend: React 18, TypeScript, Tailwind CSS, Framer Motion
- Backend: Express.js, Node.js
- Database: PostgreSQL with Drizzle ORM
- Deployment: Vercel-ready configuration
Required environment variables (see .env.example):
DATABASE_URL=postgresql://username:password@host:port/database
NODE_ENV=production
SESSION_SECRET=your-session-secret
- Prepare Database: Set up a PostgreSQL database (recommended: Neon)
- Configure Environment: Add
DATABASE_URLto Vercel environment variables - Deploy: Connect your repository to Vercel
Set these in your Vercel dashboard:
DATABASE_URL: Your PostgreSQL connection stringNODE_ENV:productionSESSION_SECRET: Random secure string for sessions
- Install dependencies:
npm install - Set up environment variables in
.env - Run development server:
npm run dev - Push database schema:
npm run db:push
Default admin credentials:
- Username:
admin@gillab.info - Password:
jaishreeram
Change these in production by accessing the admin panel.
GET /api/certificates/verify/:reportNumber- Verify certificatePOST /api/certificates/upload- Upload new certificateGET /api/certificates- List all certificatesPOST /api/admin/login- Admin authentication
- Formats: PDF, PNG, JPG, JPEG
- Maximum size: 50MB
- Secure file handling with validation
This application is configured for production deployment with:
- TypeScript compilation
- Database connection pooling
- Error handling and logging
- Security headers and validation
- File upload management
- Session management