Task management · CASE STUDY

TaskFlow

Task manager with authentication, per-user data isolation and progress indicators.

The challenge

Organize personal tasks and track completion.

The solution

Task creation, filtering, completion and deletion, with a separate administration dashboard.

Main features

  • Task creation, editing, filtering, completion and deletion.
  • Authentication and user-specific task isolation.
  • Account administration without access to task contents.

Architecture

JavaScript frontend and Express API with PostgreSQL and authenticated sessions.

  1. JavaScript interface
  2. Express API
  3. PostgreSQL

Technical decisions and limitations

The interface and API share the same origin to avoid cross-domain cookie issues. Password recovery and email verification are unavailable.

Project status

Public source code.

Availability

Source code
Public
Demo
App online, no demo account
Case study
Available
Status
Published

Context and problem

A project to practice authentication, per-user data isolation and cloud deployment with a familiar problem: task lists.

How it works

  1. Sign-up and login
  2. User tasks
  3. Filters and progress
  4. Admin panel

Business rules

  • Each user sees only their own tasks.
  • The administrator sees statistics and activates or deactivates accounts, with no access to task content.
  • Deleting an account permanently removes the user and tasks.

Technical challenges and solutions

  • Challenge: Guaranteeing isolation between users. Solution: Queries filtered by the authenticated user, with security regression tests in CI.
  • Challenge: Changing a temporary password safely. Solution: A mandatory change on first login, covered by backend tests.

Security and privacy

  • bcrypt passwords (cost 12) and JWT sessions in HttpOnly, Secure cookies.
  • CORS restricted to the frontend domain and parameterized queries.
  • No analytics or third-party cookies.

Tests and evidence

  • CI runs backend tests with PostgreSQL 16: security regressions, authentication rate limiter, password change, task CRUD and user isolation.

Lessons learned

  • A small project is a good place to practice real security.

Current status

Hosting as documented in the repository: frontend on Firebase Hosting, serverless backend on Vercel and PostgreSQL on Neon. The repository documentation states that the demo login is temporarily unavailable.

Documented evidence

Documentation describes security, task isolation and authentication rate-limit tests.

Existing documented interface.