How sarahkhan20/gitzen works
Project Type and Purpose
• GitZen is a full-stack web application whose goal is to let users fetch code from public GitHub repos and generate AI-driven summaries.
• The frontend is built with React.js; the backend is a Node.js/Express server; it integrates with two external APIs: GitHub REST and Google Generative AI (“Gemini”).
File Structure
• Top level:
• README, LICENSE, .gitignore, package.json – project metadata and scripts
• frontend/ – React app
• server/ – Express.js API
• frontend/:
• public/: static HTML, manifest, robots.txt
• src/: React components (ChatInterface, CodeExtractor, CodeSummarizer, Header, Footer), plus standard entry points (App.js, index.js) and tests.
• server/:
• server.js – main Express app
• package.json – server dependencies (express, axios, @google/generative-ai, etc.)
• No database directory – this is stateless, calling external services on each request.
README for Additional Insights
• Features: code extraction, AI summarization, copy/download support
• Tech stack: React, Node/Express, GitHub REST API, Google Generative AI
• Architecture hints: clear separation of front and back, environment variables for API keys, Axios used for HTTP clients.