How narkaraditya10/theworkswebsite works
Project type and purpose
• This repository is a front-end single-page application (SPA) built with React and Vite.
• Purpose: A static “works” portfolio/marketing website that runs entirely in the browser, using component-based UI, Tailwind CSS, and PostCSS for styling.
File structure
• Top-level:
• index.html – SPA entry point
• src/ – application source
• public/ – static assets for direct copy into the build
• vite.config.js, postcss.config.js, tailwind.config.js – build tool and CSS pipeline configs
• package.json – dependency list and dev/build scripts
• src/ substructure:
• src/main.jsx – mount point that injects <App/> into index.html
• src/App.jsx + App.css – root React component and global styles
• src/components/ – reusable UI modules (hero, about, service, experts, slideshow)
• No backend code, no database directories – this is strictly a client-side web app.
Extract additional insights from the README
• Development flow: npm run dev (Vite dev server on localhost:3000)
• Build flow: npm run build → generates production-ready bundles in dist/
• Deployment: npm run serve for local preview; ultimately hosted as static files (e.g., on Vercel)