How grevondenson/richreact works
Project type and purpose
• This is a React single-page application (SPA) that serves educational content (courses, eBooks, question papers, videos, etc.)
• Although it contains only front-end code, it leverages Firebase for authentication, data persistence (Firestore), and file storage.
File structure
• Top-level “public” folder → static assets and index.html (hosted by a static file server or Firebase Hosting).
• “src” folder → main React application:
• src/index.js, src/App.js → entry point and root component of the SPA
• src/components → all UI components (Home, Dashboard, Resources, Videos, Ebooks, etc.)
• src/contexts/AuthContext.js → React Context for user authentication state
• src/services/firestore.js, src/services/storage.js → wrappers around Firebase Firestore & Storage APIs
• src/firebase.js → Firebase SDK initialization and configuration
README for additional insights
• (No content in README, but package.json lists dependencies: react, react-router, firebase, etc.)