How ayushchoudhary6/biomarine-ai works
Project type and purpose
• This is a single‐page web application (SPA) built with React and Vite.
• Purpose: provide a UI for exploring AI models (classification), uploading data, viewing otolith galleries, and displaying maps—all in the browser.
File structure
• Top level:
• package.json, vite.config.js, tailwind.config.js → build & styling configuration
• index.html → SPA entry point
• public/models/classification → pre-trained AI model artifacts (JSON weights, metadata)
• src/
• main.jsx, App.jsx → React app bootstrap & root component
• components/layout → Navigation & Footer (global layout)
• components/ui → reusable UI widgets (Map, Spinner, ThemeToggle)
• pages → route‐level views (Home, AIModels, DataUpload, Dashboard, etc.)
• contexts → ThemeContext for global theming state
• utils → aiModel.js & modelDownloader.js for client-side AI model loading/inference
• No backend folder, so all logic—including AI inference—runs in the browser.
README insights
• Uses Vite for fast dev/production builds with HMR
• ESLint and Tailwind for code quality and styling