How hankdesu/react-hooks-calendar works
Project type and purpose
• This is a single-page React application (front-end only) bootstrapped with Create React App.
• Purpose: Provide a simple interactive calendar component using React Hooks, hosted as a static web page (GitHub Pages).
File structure
• Top-level config:
• package.json – npm dependencies and scripts
• .github/workflows/nodejs.yml – CI workflow (install, test, build, deploy)
• .gitignore
• Public assets (static host root):
• public/index.html – HTML shell
• public/manifest.json, robots.txt – PWA and SEO
• Source code (React SPA):
• src/index.js – ReactDOM entry point
• src/index.css – global styles
• src/Calendar.js – the calendar component
README for additional insights
• No backend or external API; it runs entirely in the browser.
• Build and dev server are managed via npm scripts (npm start, npm run build).
• Hosted on GitHub Pages (demo link provided).
Details to capture
• Entry point sequence (index.html → index.js → Calendar.js).
• Build pipeline steps alongside code flow.
• Deployment target (GitHub Pages).