How moura-pedro/fit-schedule-planner works
Project type and purpose
• This is a full-stack web application named “Fit Planner” (per the docs link).
• The frontend is a single-page application (SPA) built with React (in the client/ folder).
• The backend is an Express/Node.js REST API (in the server/ folder).
• MongoDB (via Mongoose models) is used for persistence, and OpenAI’s API is consumed for transcript parsing or other LLM tasks.
File structure
• Top-level:
• client/ — React app (JSX components, pages, context, utility libraries)
• server/ — Express app (controllers, routes, services, helpers, models)
• client/src/components & client/src/pages follow a component/page organization typical of React Router.
• server/controllers maps HTTP requests to business logic; server/routes wires controllers to endpoints.
• server/services/openaiService.js and server/helpers/llm encapsulate LLM interactions.
• Mongoose models (user.js, course.js, transcript.js) define data schemas.
• Authentication is handled via authController.js and helpers/auth.js (JWT or session).
Extracted insights from README
• The project’s user and developer documentation is hosted at the provided Vercel URL, implying additional architectural notes are available there.
Detail and comprehensiveness
• Error-handling or auth middleware hops if critical
• Notes on any realtime or polling behavior, if present