How farouk-haroun/won-dry-idea-platform works
Project type and purpose
• This is a full-stack MERN application called Wondr’y Ideas Platform.
• Purpose: a virtual collaboration and brainstorming space where users sign in, create/join idea spaces and challenges, upload files, rate and discuss ideas in real time.
File structure
Top-level directories:
• mongodb-backend – Node.js/Express REST API using Mongoose (models, controllers, routes, middleware)
• react-frontend – React SPA (components, screens, contexts, Redux slices, utilities)
• src (root) – appears to be an earlier or sample React shell (can be omitted if not actively used)
Key backend patterns:
• MVC structure: models/ → controllers/ → routes/ → server.js
• Middleware: authenticate JWT, S3 upload, custom test hooks
• Upload folder for local storage (thumbnails) and S3 integration
Key frontend patterns:
• Pages (“screens”) correspond to routes: Home, Discover, Challenge, IdeaSpace, Profile, Login, Signup
• Shared UI parts in components/ (cards, popups)
• Global state via React Context (IdeaSpaceContext) and Redux Toolkit (authSlice)
• Tests in Jest and React Testing Library
Extract architecture insights from README
• React front-end interacts with Node/Express backend over HTTP/REST
• Backend persists data in MongoDB Atlas (hosted or local)
• File sharing implemented via S3 (or local uploads initially), potential integration with Google Drive/Dropbox APIs
• Future integration with Miro/Openideal APIs for real-time collaboration