Eqorascale MVP is an enterprise-grade supply chain document management system designed to revolutionize how organizations handle critical procurement documents. Built with modern web technologies, this platform provides advanced file indexing, AI-powered document processing, and integrated tracking for RFQs (Request for Quotations), POs (Purchase Orders), and Quotations.
Whether you're managing complex supply chains or streamlining procurement workflows, Eqorascale delivers intelligent document processing capabilities powered by Google's Gemini AI to extract, organize, and analyze procurement data with unprecedented efficiency.
- Hierarchical File Organization: Intuitive folder structure with support for nested directories
- Multi-format Support: Handle PDFs, images, and various document types seamlessly
- Real-time File Explorer: Browse and navigate your document library with instant search capabilities
- Drag-and-drop Interface: Intuitive file management with context menus for quick actions
- File Versioning: Track document changes and maintain historical records
- Gemini AI Integration: Leverage Google's advanced AI models for intelligent document analysis
- Automatic Data Extraction: Extract key information from procurement documents automatically
- Smart Document Classification: Categorize documents by type (RFQ, PO, Quotation, Invoice, etc.)
- OCR & Text Recognition: Process both digital and scanned documents with high accuracy
- Intelligent Search: Find documents quickly using AI-powered semantic search
- RFQ Management: Create, track, and manage Request for Quotations throughout their lifecycle
- Purchase Order Tracking: Monitor POs from creation through delivery and payment
- Quotation Analysis: Compare supplier quotations and track acceptance/rejection status
- Dashboard Analytics: Visualize key metrics and supply chain performance indicators
- Real-time Status Updates: Stay informed with instant document processing notifications
- Secure Authentication: User login with session persistence
- Role-based Access: Different user roles with appropriate permissions
- Data Privacy: Secure API key management and encrypted data storage
- Local Session Storage: User data stored securely in browser localStorage
- Dark Mode Support: Toggle between light and dark themes for comfortable viewing
- Responsive Design: Fully responsive interface that works on desktop and tablet devices
- Toast Notifications: Real-time user feedback for actions and errors
- Confirmation Modals: Safe operations with confirmation dialogs for destructive actions
- PDF Viewer: Built-in PDF preview and viewing capabilities
- Table View: Structured data presentation with sortable columns
| Technology | Purpose |
|---|---|
| React 19 | UI framework with latest features |
| TypeScript | Type-safe development |
| Vite | Lightning-fast build tool and dev server |
| React Router v7 | Client-side routing and navigation |
| Tailwind CSS | Utility-first styling framework |
| Google Gemini AI | AI-powered document processing |
| Google GenAI SDK | Integration with Google's AI models |
βββ components/
β βββ Dashboard/
β β βββ RepositoryView.tsx # Main dashboard displaying documents
β βββ FileExplorer/
β β βββ FileExplorer.tsx # File browser with navigation
β β βββ FileDetailModal.tsx # Document details and preview
β β βββ PdfViewer.tsx # PDF viewing capabilities
β β βββ TableView.tsx # Tabular data display
β βββ Forms/
β β βββ AuthForm.tsx # Login/authentication form
β βββ Landing/
β β βββ LandingPage.tsx # Welcome and onboarding page
β βββ Layout/
β β βββ DashboardLayout.tsx # Main app layout wrapper
β β βββ Sidebar.tsx # Navigation sidebar
β βββ UI/
β βββ ConfirmationModal.tsx # Confirmation dialogs
β βββ Toast.tsx # Toast notifications
βββ services/
β βββ ai.ts # AI integration utilities
β βββ gemini.ts # Google Gemini API client
βββ store/
β βββ mockData.ts # Mock data for development
βββ App.tsx # Main app component
βββ types.ts # TypeScript type definitions
βββ constants.tsx # App constants and configurations
βββ index.tsx # React entry point
βββ index.html # HTML template
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
βββ package.json # Project dependencies
- Node.js (v16 or higher)
- npm (v8 or higher)
- Google Gemini API Key (for AI features)
-
Clone the Repository
git clone https://github.com/your-org/eqorascale-mvp.git cd eqorascale-mvp -
Install Dependencies
npm install
-
Configure Environment Variables
- Create a
.env.localfile in the project root - Add your Google Gemini API key:
VITE_GEMINI_API_KEY=your_api_key_here
- Create a
-
Run Development Server
npm run dev
The application will be available at
http://localhost:5173 -
Build for Production
npm run build
Output files will be in the
dist/directory -
Preview Production Build
npm run preview
- Users land on the landing page
- Click to proceed to login
- Enter credentials in the AuthForm
- Session is stored in localStorage
- Redirected to dashboard on successful login
- Navigate the FileExplorer to browse documents
- Click files to view details in FileDetailModal
- Right-click for context menu with rename/delete options
- Upload new documents using the upload trigger
- View PDFs directly in the PdfViewer
- Upload procurement documents (RFQ, PO, etc.)
- Gemini AI automatically analyzes and extracts data
- View extracted information in structured format
- Search using AI-powered semantic search
- Generate reports and insights from documents
- View all RFQs, POs, and Quotations in Dashboard
- Filter and sort by status, date, or supplier
- Track document lifecycle from creation to completion
- Receive notifications for important status changes
- Export data for reporting and analysis
Theme Configuration (constants.tsx):
- Modify color schemes
- Update icon sets
- Configure document type colors
API Configuration (services/gemini.ts):
- Adjust AI model parameters
- Configure API endpoints
- Set request timeouts
User Permissions (App.tsx):
- Define role-based access levels
- Configure protected routes
- Customize dashboard permissions
- Hierarchical directory navigation
- Real-time file filtering
- Context menu operations (rename, delete)
- File type indicators with color coding
- Breadcrumb navigation for easy path tracking
- PDF preview and full-screen viewing
- File metadata display (size, type, created date)
- Related documents suggestion
- Download capabilities
- Document history and versioning
- Overview of all documents
- Quick statistics on RFQs, POs, and Quotations
- Recent activities feed
- Key performance indicators
- Quick action buttons
- Toast alerts for actions
- Success/error feedback
- Action confirmation dialogs
- Real-time status updates
Currently, the project focuses on component development. As the project matures, tests will be added:
npm run test # Unit tests
npm run test:e2e # End-to-end tests- Enable React DevTools browser extension
- Use TypeScript for better IDE support
- Check console for detailed error messages
- Inspect localStorage for session data
- TypeScript for type safety
- React hooks for component logic
- Functional components throughout
- Tailwind CSS for styling consistency
-
Build the application:
npm run build
-
Deploy the
dist/folder to your hosting provider:- Vercel: Connect GitHub repo for automatic deployments
- Netlify: Drop
dist/folder or connect GitHub - AWS S3 + CloudFront: Static site hosting
- Docker: Containerize the application
-
Set environment variables in production:
VITE_GEMINI_API_KEY- Your production API key
- Clear node_modules:
rm -rf node_modules && npm install - Check Node.js version:
node --version - Verify ports 5173 (dev) or 3000 (preview) are available
- Verify GEMINI_API_KEY is correctly set
- Check API key has necessary permissions
- Review API quotas and rate limits
- Check network connectivity
- Clear Vite cache:
rm -rf dist && rm -rf .vite - Update dependencies:
npm update - Check TypeScript errors:
npx tsc --noEmit
- Issues: Report bugs on GitHub Issues
- Documentation: Full API docs available in
docs/ - AI Studio: View on AI Studio
This project is part of the Eqorascale enterprise suite.
We welcome contributions! Please follow these guidelines:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Submit a Pull Request
- Advanced analytics and reporting dashboard
- Multi-language support
- Mobile app (React Native)
- Real-time collaboration features
- Integration with ERP systems
- Machine learning for predictive analytics
- Automated workflow automation
- Enhanced security with 2FA
- Initial project setup with React 19 and Vite
- Core file management system
- Basic authentication
- Gemini AI integration
- Dashboard and file explorer components
- Responsive design with dark mode support
Built with β€οΈ for modern supply chain management
