How atifibrahim7/taskmanagmentsystem works
Project type and purpose
• This is a full-stack Task Management System. The frontend is a React single-page application (SPA) built with Vite. The backend is an Express.js REST API that handles user authentication, tasks, comments, and teams. Data is persisted in a database (Supabase/PostgreSQL or MongoDB, per environment configuration).
• Purpose: allow users to register/login, create/edit/delete tasks, group by teams/projects, set priorities/due dates, and track status.
File structure
• Top-level:
• backend/ – Express API
– server.js & index.js (entry points)
– routes/ (auth.js, tasks.js, comments.js, teams.js)
– middleware/auth.js (JWT protection)
– models/ (User.js, Task.js, Comment.js, Team.js)
– supabase/migrations/ (SQL schema scripts)
• frontend/my-react-app2/ – React SPA
– src/
· components/ (Auth, Dashboard, Teams, UI primitives)
· context/AuthContext.jsx (global auth state)
· services/api.js (Axios/fetch wrappers)
– public/index.html, vite.config.js
README for additional insights
• Tech stack: React.js + Redux (front), Node.js + Express.js + MongoDB/Mongoose or Supabase/PostgreSQL (back), JWT, RESTful API.
• Features: secure authentication, CRUD operations on tasks, search/filter, responsive UI.