Skip to content

Improve backend security, reliability, testing, and task management - #2

Merged
RobotEby merged 7 commits into
mainfrom
feat/backend-reliability
Aug 28, 2026
Merged

Improve backend security, reliability, testing, and task management#2
RobotEby merged 7 commits into
mainfrom
feat/backend-reliability

Conversation

@RobotEby

Copy link
Copy Markdown
Owner

Description

This PR improves the application’s security, organization, and reliability, while also expanding task management and quality automation.

Backend

  • Removes the hardcoded JWT secret and centralizes configuration via environment variables.
  • Refactors the monolithic backend into a layered architecture.
  • Adds input validation and centralized error handling.
  • Adds support for due dates and persistent task ordering.
  • Implements health check endpoints for the API and MongoDB.
  • Adds unit and integration tests using Jest and Supertest.

Frontend

  • Persists task ordering in the backend.
  • Restores the previous order when persistence fails.
  • Corrects the execution order of hooks on the main page.
  • Localizes the loading message for the protected route.
  • Adds static validation with lint and TypeScript.

Docker and Infrastructure

  • Adds health checks for the backend and MongoDB.
  • Waits for the database to be healthy before starting the API.
  • Enables test execution via Docker Compose.
  • Replaces the backend dependency installation with npm ci.

CI and Documentation

  • Adds a workflow for linting, testing, type checking, frontend building, and Docker image validation.
  • Updates the README with instructions for running the application, testing, API reference, security, and known limitations.

@RobotEby RobotEby self-assigned this Aug 28, 2026
@RobotEby RobotEby added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 28, 2026
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docker-todo-list Ready Ready Preview Aug 28, 2026 9:59pm

@RobotEby
RobotEby merged commit 2dd3640 into main Aug 28, 2026
4 checks passed
@RobotEby
RobotEby deleted the feat/backend-reliability branch August 28, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant