I created the TaskFlow repo on my GitHub (@Nandini15-hash) as a full‑stack MERN task manager, started in September 2026 and last updated the same month.
The backend runs an Express API on port 5000 and the frontend runs a Vite‑powered React app on port 5173.
- Backend structure includes
config/db.js,models/(User, Task),middleware/(auth, error handler),controllers/,routes/, andserver.js.
GET http://localhost:5000/api/health
Response: {"status":"ok"}
Development commands are: - cd backend && npm install && cp .env.example .env && npm run dev - cd frontend && npm install && npm run dev.
I chose JWT stored in localStorage for simple client‑side persistence, using an axios request interceptor to attach Authorization: Bearer <token> to all API calls.
- Suggested extensions (in order of difficulty):
- Search tasks by title (
$regex). - Add categories/tags.
- Add pagination (
skip/limit). - Replace
localStorageJWT with httpOnly cookie. - Deploy backend (Render/Railway) and frontend (Vercel).
- Frontend structure includes
src/api/axios.js,src/context/AuthContext.jsx,pages/(Login, Register, Dashboard), andcomponents/(Navbar, TaskForm, TaskCard).