How btholt/complete-intro-to-react-v9 works
Project type and purpose
• From the README and file tree, this is a full-stack, content-driven, static-site application built with Next.js and React. Its primary purpose is to serve as a workshop/course website (“Complete React v9”), rendering lesson content (Markdown), providing navigational components, and running ancillary Node.js scripts (CSV import, summary generation).
File structure
• Top-level config and scripts
• next.config.js, package.json, .github/workflows/next.yaml – configure the Next.js build & CI/CD.
• summary/ and csv/ folders – custom Node.js scripts for generating AI-driven summaries and ingesting CSV data.
• Frontend code
• pages/ – Next.js page routes: index.js, dynamic lesson routes ([section]/[slug].js), and the global _app.js.
• context/ – React Context providers for global state (courseInfoContext, headerContext).
• styles/ – CSS modules for layout and theming.
• Content and data
• lessons/ – Markdown files organized by section, each with meta.json where applicable.
• data/ – JS modules abstracting course and lesson metadata (data/course.js, data/lesson.js).
• course.json – top-level content manifest.
README for additional insights
• Confirms this is the “course website,” open-source, licensed CC-BY-NC for content and Apache 2.0 for code.