How key-runnnnnnn/studynotion works
Project type and purpose
• From the folder names and README (“Study Notion”), this is a full-stack e-learning / course platform.
• The client directory is a React (with Redux) Progressive Web App (PWA) using Tailwind CSS and service workers.
• The server directory is an Express.js REST API with controllers, middleware, models (likely MongoDB via Mongoose), payment integration (Razorpay), image hosting (Cloudinary), and e-mail notifications.
File structure
• Top-level: two main services—client/ (React front end) and server/ (Node.js back end).
• client/src: organized into Components (common UI, core pages, Dashboard flows), pages (React Router entry points), Redux slices, services for API calls, hooks, assets, config (tailwind), and PWA setup (service worker).
• server/: config (database, Cloudinary, Razorpay), controllers (business logic), routes (API endpoints), models (data schemas), middlewares (auth & demo stubs), utilities (imageUploader, mailSender, helpers), mail templates, and env example.
README for additional insights
• The README only gives the project name. We infer architecture and responsibilities from the file layout and dependencies.