{"id":22774840,"url":"https://github.com/chan9yu/quiz_app","last_synced_at":"2026-04-09T19:56:44.622Z","repository":{"id":204672825,"uuid":"712395351","full_name":"chan9yu/quiz_app","owner":"chan9yu","description":"🧩 Quiz App with react","archived":false,"fork":false,"pushed_at":"2023-11-07T14:55:11.000Z","size":14424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T13:12:35.789Z","etag":null,"topics":["cypress","e2e-test","github-actions","github-pages","jest","react","react-testing-library","redux","redux-saga","storybook","styled-components","typescript","vite","vitest","yarn"],"latest_commit_sha":null,"homepage":"https://chan9yu.github.io/quiz_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/chan9yu.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}},"created_at":"2023-10-31T11:43:42.000Z","updated_at":"2023-11-06T15:13:57.000Z","dependencies_parsed_at":"2025-02-05T14:45:58.610Z","dependency_job_id":"6c97acf4-57e6-4fc1-884b-7dcc8fd58146","html_url":"https://github.com/chan9yu/quiz_app","commit_stats":null,"previous_names":["chan9yu/quiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chan9yu/quiz_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chan9yu%2Fquiz_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chan9yu%2Fquiz_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chan9yu%2Fquiz_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chan9yu%2Fquiz_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chan9yu","download_url":"https://codeload.github.com/chan9yu/quiz_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chan9yu%2Fquiz_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877093,"owners_count":26061380,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["cypress","e2e-test","github-actions","github-pages","jest","react","react-testing-library","redux","redux-saga","storybook","styled-components","typescript","vite","vitest","yarn"],"created_at":"2024-12-11T18:17:46.157Z","updated_at":"2025-10-08T01:43:54.214Z","avatar_url":"https://github.com/chan9yu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧩 Quiz App\n\n\u003e Quiz App with react\n\n\u003cbr /\u003e\n\n## 🖼️ Thumbnail\n\n\u003cdiv style=\"display: flex; flex-direction: row;\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/chan9yu/chan9yu/master/images/project/quiz_app/ready_page.png\" width=\"48%\" /\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/chan9yu/chan9yu/master/images/project/quiz_app/storybook.png\" width=\"48%\" /\u003e\n\u003c/div\u003e\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## 🔗 Link\n\n- \u003ca href=\"https://chan9yu.github.io/quiz_app\" target=\"_blank\" rel=\"noreferrer\"\u003eQuiz APP\u003c/a\u003e\n- \u003ca href=\"https://chan9yu.github.io/quiz_app/storybook\" target=\"_blank\" rel=\"noreferrer\"\u003eStory Book\u003c/a\u003e\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## 🔧 Tech Stack\n\n- \u003cimg src=\"https://img.shields.io/badge/react-61DAFB?style=for-the-badge\u0026logo=react\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/typescript-3178C6?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/redux-764ABC?style=for-the-badge\u0026logo=redux\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/reduxsaga-999999?style=for-the-badge\u0026logo=reduxsaga\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/styledcomponents-DB7093?style=for-the-badge\u0026logo=styledcomponents\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/storybook-FF4785?style=for-the-badge\u0026logo=storybook\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/chartjs-FF6384?style=for-the-badge\u0026logo=chartdotjs\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/jest-C21325?style=for-the-badge\u0026logo=jest\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/vite-646CFF?style=for-the-badge\u0026logo=vite\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/vitest-6E9F18?style=for-the-badge\u0026logo=vitest\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/cypress-17202C?style=for-the-badge\u0026logo=cypress\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/githubpages-222222?style=for-the-badge\u0026logo=githubpages\u0026logoColor=white\"\u003e\n- \u003cimg src=\"https://img.shields.io/badge/githubactions-2088FF?style=for-the-badge\u0026logo=githubactions\u0026logoColor=white\"\u003e\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n- [x] 사용자는 `퀴즈 풀기` 버튼을 클릭하여 퀴즈 풀기를 시작할 수 있다.\n- [x] 사용자는 문항에 대한 답안을 `4개 보기 중에 선택`할 수 있다.\n- [x] 사용자는 답안을 선택하면 다음 문항을 볼 수 있다.\n  - [x] 답안 선택 후 `다음 문항` 버튼을 볼 수 있다.\n  - [x] 답안이 맞았는지 틀렸는지 바로 알 수 있다.\n  - [x] 다음 문항 버튼을 클릭하여 다음 문항으로 이동할 수 있다.\n- [x] 모든 문항을 다 풀면 사용자는 다음과 같은 결과 정보를 볼 수 있다.\n  - [x] 퀴즈를 마칠 때까지 소요된 시간\n  - [x] 정답 개수\n  - [x] 오답 수\n  - [x] 정 오답에 대한 비율을 차트로 표기\n- [x] 오답 노트 기능\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## 🧪 Test\n\n```shell\n# Unit Test\nyarn test\n\n# E2E Test\nyarn cypress open\n```\n\n### Unit Test\n\n- `jest`과 `RTL(React-Testing-Library)` 대신 `vitest` 사용\n- 컴포넌트가 의도적으로 동작을 잘 하는지 렌더링에 문제없는지 확인하기 위해 단위 테스트 진행\n- 공통 유틸 함수들이 결함이 없는지 확인하기 위해 단위 테스트 진행\n\n\u003e vitest 최소한의 노력으로 vite 기반 프로젝트와 통합되며, 매우 빠른 장점이 있기때문에 사용하게 되었습니다.\u003cbr /\u003e\n\u003e vitest는 jest에서 사용되는 대부분의 api를 지원합니다.\n\n[vitest docs](https://vitest.dev/)\n\n### E2E Test\n\n- 기능 요구사항이 문제없이 개발되었는지 확인하기 위한 E2E 테스트 진행\n- cypress를 통해 테스트 진행\n\n\u003cimg src=\"https://raw.githubusercontent.com/chan9yu/chan9yu/master/images/project/quiz_app/quiz_app.cy.js.gif\" /\u003e\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## 💾 BackEnd API\n\n퀴즈에 대한 정보를 얻기위해 open API 사용\n\n- [opentdb.com](https://opentdb.com/api_config.php)\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n\n## 🚀 Getting Started\n\n로컬환경에서 앱을 실행하는 방법입니다.\n\n### Prerequisites\n\n해당 앱을 실행시키기 위한 필수 조건 입니다.\n\n1. yarn install\n\n```shell\n# yarn 설치\nnpm -g install yarn\n```\n\n2. node setup\n\n```shell\n# .nvmrc 기준 node version 설치\n# nvm을 사용하지 않는다면 수동으로 노드버전을 맞춰주세요.\nnvm use\n```\n\n### Installation\n\n1. 프로젝트 클론\n\n```shell\ngit clone https://github.com/chan9yu/quiz_app\n```\n\n2. 프로젝트 디렉토리로 이동\n\n```shell\ncd quiz_app\n```\n\n3. 종속성 설치\n\n```shell\nyarn install\n```\n\n4. 개발 서버 시작\n\n```\nyarn dev\n```\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#readme-top\"\u003e맨 위로\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchan9yu%2Fquiz_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchan9yu%2Fquiz_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchan9yu%2Fquiz_app/lists"}