How yashbhangale/os-portfolio works
Project type and purpose
• This is a JAMstack‐style personal portfolio website built with Gatsby (a React-based static site generator).
• Purpose: transform Markdown pages and React components into a static HTML/CSS/JS bundle, optionally served via Docker or deployed to a static‐hosting CDN.
File structure
• Top level
• dockerfile / dockerfileback / docker-compose.yml – Docker setups for local development or containerized static‐server
• gatsby-config.js, gatsby-node.js, gatsby-ssr.js, gatsby-browser.js – Gatsby lifecycle hooks and configuration
• src/ – source React components, pages, templates, styles, images, and Markdown content
• public/ – generated static site output (HTML, JS bundles, CSS, service worker assets, Workbox libraries, page-data JSON)
• .github/workflows/*.yml – GitHub Actions CI for building and deploying
• “src/markdown-pages/” – directory of Markdown files for “About,” “Projects,” resume, certifications
• “src/components/” – React building blocks (header, footer, taskbar, popup terminal, etc.)
• “src/templates/pageTemplate.js” – Gatsby template used to programmatically create pages from Markdown
• “public/_functions.json” & “public/_headers.json” – Netlify‐style routing and functions manifest
README for additional insights
• Basic npm / Gatsby commands (npm install, npm run start)
• Docker build & run instructions for containerizing the site
• No backend API—purely static