{"id":31946710,"url":"https://github.com/oscargonzalezdev/credit-cards","last_synced_at":"2026-07-01T16:32:09.081Z","repository":{"id":313974993,"uuid":"1049102726","full_name":"oscargonzalezdev/credit-cards","owner":"oscargonzalezdev","description":"A Next.js application that helps users find their perfect credit card by checking eligibility and displaying available offers.","archived":false,"fork":false,"pushed_at":"2025-09-09T18:58:49.000Z","size":2473,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T16:40:06.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://credit-cards-app.vercel.app/","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/oscargonzalezdev.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-02T13:44:32.000Z","updated_at":"2025-09-09T18:58:52.000Z","dependencies_parsed_at":"2025-09-09T22:36:02.165Z","dependency_job_id":"7e29bbda-9306-4092-8b2b-0504d1ee6f5f","html_url":"https://github.com/oscargonzalezdev/credit-cards","commit_stats":null,"previous_names":["oscargonzalezdev/credit-cards"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oscargonzalezdev/credit-cards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscargonzalezdev%2Fcredit-cards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscargonzalezdev%2Fcredit-cards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscargonzalezdev%2Fcredit-cards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscargonzalezdev%2Fcredit-cards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscargonzalezdev","download_url":"https://codeload.github.com/oscargonzalezdev/credit-cards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscargonzalezdev%2Fcredit-cards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35015053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-14T11:22:24.643Z","updated_at":"2026-07-01T16:32:09.064Z","avatar_url":"https://github.com/oscargonzalezdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Credit Cards Eligibility Checker\n\nA Next.js application that helps users find their perfect credit card by checking eligibility and displaying available offers.\n\n[Demo](https://credit-cards-app.vercel.app/) \n\n## Features\n\n- **Check Eligibility** - Find out eligible credit cards based on customer input\n- **Browse Cards** - View multiple credit card offers and show card details\n- **Form Validation** - Customer data validation on client and server side\n- **Responsive Design** - Mobile-first approach following responsive design best practices\n- **End-to-End Testing** - App tested to ensure everything works smoothly\n\n## Tech Stack\n\n- **Language:** TypeScript\n- **Framework:** Next.js 15 with React 19\n- **Styling:** Tailwind CSS\n- **Testing:** Playwright\n- **Validation:** Zod\n\n## Project Structure\n\n```\nsrc/\n├── app/\n│   ├── (home)/           # Home page\n│   ├── api/              # API routes\n│   │   └── credit-cards/ # Credit card API endpoints\n│   ├── credit-cards/     # Credit cards page\n│   └── layout.tsx        # Root layout\n├── components/           # Reusable UI components\n│   ├── AppLogo.tsx\n│   ├── Button.tsx\n│   ├── CreditCardDetails.tsx\n│   ├── CreditCardView.tsx\n│   ├── CustomerForm.tsx\n│   ├── CustomerSelector.tsx\n│   ├── Modal.tsx\n│   └── StackedCards.tsx\n├── constants/            # Application constants\n├── styles/               # Global styles\n├── types/                # TypeScript type definitions\n└── utils/                # Utility functions\ntests/                    # End-to-end tests\npublic/                   # Static assets\n```\n\n## Getting Started\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Run the development server:\n\n```bash\nnpm run dev\n```\n\n3. Open [http://localhost:3000](http://localhost:3000) in your browser\n\n## App Scripts\n\n```bash\n# Start development server\nnpm run dev\n\n# Build for production\nnpm run build\n\n# Start production server\nnpm run start\n\n# Run linting\nnpm run lint\n```\n\n## Test Scripts\n\n```bash\n# Run all tests\nnpm test\n\n# Run with UI (visual test runner)\nnpm run test:ui\n\n# Run in headed mode (see browser)\nnpm run test:headed\n\n# Debug tests\nnpm run test:debug\n\n# View test report\nnpm run test:report\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscargonzalezdev%2Fcredit-cards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscargonzalezdev%2Fcredit-cards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscargonzalezdev%2Fcredit-cards/lists"}