How bcastelino/brian-portfolio works
Project type and purpose
• This is a full-stack, serverless personal portfolio web application.
• Frontend: Next.js (App Router), Tailwind CSS, Framer Motion for animations.
• Backend: Supabase Edge Function (Deno) powering the contact form, which sends email via Mailgun.
• Hosting: Render (free tier), kept awake via UptimeRobot.
File structure
• app/… contains your Next.js “app router” pages and layout (page.tsx, layout.tsx, api/contact/route.ts).
• app/ThemeProvider.tsx & ThemeToggle.tsx handle light/dark mode.
• public/… holds static assets: images, PDFs, logos.
• next.config.js, tsconfig.json, tailwind.config.js are your framework/build configs.
README for additional insights
• Real-time contact form flow: Browser → Supabase Edge Function → Mailgun → Brian’s inbox → Browser confirmation.
• All services are free-tier or open source.
• Uses sharp for image optimization in production; ESLint/Prettier for code quality.