{"id":29035365,"url":"https://github.com/b0ir/user-management-app-qa","last_synced_at":"2026-05-06T19:03:19.537Z","repository":{"id":299118904,"uuid":"1002089943","full_name":"b0ir/user-management-app-qa","owner":"b0ir","description":"Aplicación web desarrollada en TypeScript y React para la gestión de usuarios.","archived":false,"fork":false,"pushed_at":"2025-06-19T06:06:37.000Z","size":1315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T10:09:26.109Z","etag":null,"topics":["e2e-testing","github-actions","integration-testing","playwright","react","testing","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b0ir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-14T17:34:01.000Z","updated_at":"2025-06-19T06:24:02.000Z","dependencies_parsed_at":"2025-06-14T20:04:39.161Z","dependency_job_id":"4f496d10-767c-471d-ae86-cec3fd331f8f","html_url":"https://github.com/b0ir/user-management-app-qa","commit_stats":null,"previous_names":["b0ir/user-management-app-qa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b0ir/user-management-app-qa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ir%2Fuser-management-app-qa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ir%2Fuser-management-app-qa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ir%2Fuser-management-app-qa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ir%2Fuser-management-app-qa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b0ir","download_url":"https://codeload.github.com/b0ir/user-management-app-qa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ir%2Fuser-management-app-qa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262063486,"owners_count":23252765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e2e-testing","github-actions","integration-testing","playwright","react","testing","typescript","unit-testing"],"created_at":"2025-06-26T12:08:20.562Z","updated_at":"2026-05-06T19:03:19.532Z","avatar_url":"https://github.com/b0ir.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Management App\n\n[![Continuous Integration](https://github.com/b0ir/user-management-app-qa/actions/workflows/ci.yml/badge.svg)](https://github.com/b0ir/user-management-app-qa/actions/workflows/ci.yml)\n[![CodeFactor](https://www.codefactor.io/repository/github/b0ir/user-management-app-qa/badge)](https://www.codefactor.io/repository/github/b0ir/user-management-app-qa)\n[![codecov](https://codecov.io/gh/b0ir/user-management-app-qa/graph/badge.svg?token=TJSBXO8XA9)](https://codecov.io/gh/b0ir/user-management-app-qa)\n\nA CRUD web application for user management with a focus on comprehensive testing. Built with TypeScript and React, it includes unit, integration, and E2E testing with \u003e90% coverage, automated CI/CD, and security analysis.\n\n![User List](docs/images/screenshot-lista-usuarios.png)\n\n## 🚀 Demo\n\n**Application deployed on GitHub Pages:**\n**[View application →](https://b0ir.github.io/user-management-app-qa/)**\n\n**Test credentials:**\n\n- Username: `any value`\n- Password: `1234`\n\n## ⚡ Quick Start\n\n### Prerequisites\n\n- Node.js 18.x or higher\n- npm 9.x or higher\n\n```bash\n# Clone repository\ngit clone https://github.com/b0ir/user-management-app-qa.git\ncd user-management-app-qa\n\n# Install dependencies\nnpm install\n\n# Run in development mode\nnpm run dev\n\n# Run in production mode\nnpm run build\nnpm run preview\n```\n\nThe application will be available at `http://localhost:3000` (development) or `http://localhost:4173` (production).\n\n## 🧪 Testing Commands\n\n```bash\n# Unit and integration tests\nnpm run test\n\n# Tests with coverage report\nnpm run test:coverage\n\n# E2E tests with Playwright\nnpm run test:e2e\n\n# Linting\nnpm run lint\n```\n\n## 🏗️ Implemented Features\n\n- **Full CRUD** for users with real-time validation\n- **Unique RUT** with Chilean validation algorithm\n- **Multiple fields** for phones and addresses\n- **Deletion restriction** on birthdays\n- **Simulated REST API**\n- **Simulated authentication** with session management\n- **CI/CD with GitHub Actions** for automated testing, deployment, and security analysis with Snyk\n- **E2E Tests** with Playwright\n- **Code coverage** with Codecov\n\n## 📁 Architecture\n\n```\nsrc/\n├── __tests__/            # Tests organized by type\n│   ├── integration/      # API and full-flow tests\n│   └── unit/             # Unit tests (context, components, utils)\n├── components/           # Modular React components\n│   ├── UserForm/         # Form with hooks, utils and subcomponents\n│   ├── UserList/         # List with specialized subcomponents\n│   └── LoginForm.tsx     # Authentication\n├── context/              # React Context for session\n├── services/             # Simulated REST API with UserService\n├── types/                # TypeScript interfaces (User, DTOs, ApiResponse)\n├── utils/                # Validations (RUT, email, phone)\n└── App.tsx               # Routing and global state\ne2e/                      # End-to-End tests with Playwright\n.github/workflows/        # CI/CD and security analysis\n```\n\n## 🔧 Technical Decisions\n\n**Frontend:**\n\n- **React + TypeScript** for type-safe development with reusable components\n- **Tailwind CSS** for responsive and consistent styling\n- **Vite** for fast builds and better developer experience\n\n**Testing:**\n\n- **Jest** for unit and integration tests with code coverage\n- **Playwright** for cross-browser E2E tests, chosen for its versatility and growing industry adoption\n- **CI/CD testing** automated on every push and pull request\n\n**Validations:**\n\n- **Chilean RUT algorithm** with check digit for local validation\n- **Real-time form validation** with immediate feedback\n- **Automatic formatting** of input fields\n\n**UX/UI:**\n\n- **Responsive design** for mobile (320px+), tablet (768px+), and desktop (1024px+)\n- **Visual states** for loading, error, and validation\n- **Accessible navigation** via keyboard and screen readers\n\n## 📊 Test Coverage\n\n- **Unit tests:** Validations (RUT, email), custom hooks, and utilities\n- **Integration tests:** API, form flows, and component interactions\n- **E2E tests:** Critical use cases (full CRUD, authentication, validations)\n- **Coverage:** \u003e90% on critical functions and lines with automated reporting\n- **Cross-browser testing:** Chrome, Firefox, Safari, Mobile Chrome, and Mobile Safari in E2E tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0ir%2Fuser-management-app-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb0ir%2Fuser-management-app-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0ir%2Fuser-management-app-qa/lists"}