How niraj1742/futurise-desktop works
Project type and purpose
• From the file tree and README, this is a single‐page web application (“Futurise Desktop”) that simulates a desktop UI in the browser.
• It has no separate backend or microservices—everything runs client-side in React/TypeScript, packaged by Vite and styled with Tailwind + shadcn-ui.
File structure
• Top level:
• public/ (static assets, index.html)
• src/ (everything React/TS)
• config files (vite.config.ts, tsconfig*, postcss.config.js, tailwind.config.ts, eslint.config.js)
• src/main.tsx: application entry point
• src/App.tsx: root component
• src/components/: all UI components, subdivided into:
• apps/ (simulated desktop apps)
• desktop/ (window manager, widgets, taskbar, search modal)
• ui/ (building blocks from shadcn-ui + custom extensions)
• games/ (in-browser games)
• src/hooks/: custom React hooks (mobile detection, toast)
• src/lib & src/utils: pure functions and helpers
• src/pages/: fallback pages (Index, NotFound)
README for additional insights
• Core stack: React + TypeScript, Vite build tool, Tailwind CSS + shadcn-ui component library
• Deployed as a static site (e.g., Vercel)
• No external backend dependencies called out