How saadpasta/developerfolio works
Project Type and Purpose
• This is a single-page, front-end React application (built with Create React App) that serves as a developer portfolio template.
• It fetches data from external APIs (GitHub GraphQL, Medium RSS, Twitter embed) and renders it using React components and Lottie animations.
File Structure
• Top level:
• Dockerfile, .github/workflows/deploy.yml (CI/CD), env.example (.env schema)
• public/ (static HTML, manifest, robots.txt)
• src/ (React code)
• Inside src/:
• App.js, index.js, serviceWorker.js (bootstrap and PWA)
• components/ (presentational, reusable UI bits)
• containers/ (pages or feature sections)
• contexts/ (React Context for theming/styling)
• hooks/ (custom hooks, e.g. useLocalStorage)
• utils.js and fetch.js (API wrappers)
• portfolio.js (configuration data)
Insights from README
• Purpose: A highly configurable, responsive portfolio template.
• Key features:
• Customizable via src/portfolio.js and SCSS variables
• Data driven sections (GitHub repos, Medium blogs, Twitter timeline)
• Docker support and GitHub Actions–based auto-deploy
Detail and Coverage
• Every essential element: containers, components, context, hooks, service worker, build, deploy, hosting, and external services
• Avoid over-splitting; group related files under logical modules (e.g., “Components” vs. listing each card component)