How vaibhavbhardwaj-2396/vaibhavbhardwaj_portfolio works
Project type and purpose
• This is a full-stack personal portfolio site with a built-in blog and admin dashboard.
• The front end is a TypeScript React SPA powered by Vite and styled with Tailwind CSS.
• The back end is built on Supabase (PostgreSQL + Auth + REST), with Cloudinary for media storage, and is deployed as a serverless site on Netlify.
File structure
• Top-level:
• dist/ – production build artifacts (CSS, JS, index.html) served by Netlify
• src/ – application source code
• supabase/ – database migrations for schema evolution
• config files: tailwind.config.js, vite.config.ts, netlify.toml, tsconfig*.json
• src/ breakdown:
• assets/ – static images (logo, hero background)
• components/ – UI split into subfolders:
– admin/ (AdminLogin, Dashboard, BlogManager, editors, DataTable, etc.)
– blog/ (BlogLayout, BlogList, filters, CTAs, newsletter modals)
– layout/ (Header, shared wrappers)
– sections/ (Home, About, Skills, Experience, Contact, etc.)
– common widgets (Counter, CustomCursor, ThemeToggle, LoadingBuffer)
• hooks/ – custom hooks (useSecretCode) for admin access
• lib/ – wrappers for external services (supabase.ts, cloudinary.ts, database.ts, blog.ts)
• main.tsx / App.tsx – SPA entry point
README
• The README title “Vaibhavbhardwaj_portfolio” confirms a personal portfolio with blogging and admin functionality.