How mohitagrawal16/contentcrew works
Project type and purpose
• This is a full-stack web application (“ContentCrew”) for collaborative content creation and review.
• Frontend: React.js + Redux Toolkit + Tailwind CSS
• Backend: Node.js + Express.js with an MVC structure
• Database: MongoDB
• External services: Cloudinary for file storage, JWT/bcrypt for auth, Vercel for deployment
File structure
• Top-level separation:
• Backend/ – contains an Express MVC service
• Frontend/ – contains a React SPA with components, pages, store, utils
• Backend directory highlights:
• src/controllers – REST controllers (user, workspace, post, task)
• src/models – Mongoose schemas
• src/routes – route definitions mapping to controllers
• src/middlewares – auth, file-upload (Multer), route guards
• src/db/db.js – MongoDB connection
• src/utils – error handling, API responses, Cloudinary config
• Frontend directory highlights:
• src/components – reusable UI (Sidebar, Task, Post, PrivateRoute, etc.)
• src/pages – route-mapped views (Home, Login, Profile, WorkspaceDetails, etc.)
• src/store – Redux slices (authSlice) and store setup
• src/utils/apiClient.js – Axios wrapper for calling backend APIs
README for additional insights
• Features: workspaces, task assignment, post review
• Tech stack confirms MVC backend and Redux-managed SPA
• Deployment on Vercel implies separate hosting for frontend and backend