How dewgong5/poketask works
Overall Project Type and Purpose
• The project is a full-stack, gamified math learning tool that uses Pokemon themes.
• The frontend is built with React (JavaScript) using Tailwind, and it interacts with a separate Node.js/Express backend connected to MongoDB.
• Frontend Application:
• Core: Developed in React, with main entry points like index.html and main.jsx.
• Pages: Home, Login, Play, PokeGarden, Shop, and SignUp. These represent the different “screens” or sections that users navigate through.
• Components: Smaller reusable parts (e.g., Footer, Habitat, Pokemon, Pokeshop, Questions) that make up the pages.
• Assets & Styles: Including static assets (images, credits.txt in the images folder), CSS via TailWind configuration (tailwind.config.js) and custom styles (index.css).
• External Backend Service:
• Backend API (Node.js/Express) repository located separately, which handles data storage, business logic, and database interactions (MongoDB/Mongoose).
• External Services / Deployment:
• Vercel (for deployment of the React app).
• Other tools like Postman can be noted as part of testing and API integration.
Relationships and Data Flow
• That the React UI is composed of various pages, each pulling in reusable components (like Footer, Pokemon, etc.), indicating a component-based architecture.
• That state management (if any, not explicit here) flows from the main App.jsx component to its child components.
Architectural Patterns and Technologies
• Modular and Component-Based Architecture: Emphasize separation of concerns by showing how different directories (pages, components, assets) work together.
• Frontend-to-Backend Communication: Indicate RESTful API calls from the frontend to the backend service.
• Tech Stack: Clearly annotate components with React, Tailwind, and Vite. Also note that the backend uses Node.js/Express and MongoDB (though it’s in another repository).