{"id":24627349,"url":"https://github.com/Ayanami1314/eBookStore_Frontend","last_synced_at":"2025-10-06T18:30:49.135Z","repository":{"id":248003257,"uuid":"780514162","full_name":"Ayanami1314/eBookStore_Frontend","owner":"Ayanami1314","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-20T07:55:33.000Z","size":301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"se3353","last_synced_at":"2025-01-20T08:35:48.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Ayanami1314.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":"2024-04-01T16:34:29.000Z","updated_at":"2024-07-11T17:16:48.000Z","dependencies_parsed_at":"2024-07-11T21:14:42.308Z","dependency_job_id":"011884d4-22c8-43f5-a71a-cfe332d5c83f","html_url":"https://github.com/Ayanami1314/eBookStore_Frontend","commit_stats":null,"previous_names":["ayanami1314/ebookstore_frontend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayanami1314%2FeBookStore_Frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayanami1314%2FeBookStore_Frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayanami1314%2FeBookStore_Frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayanami1314%2FeBookStore_Frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayanami1314","download_url":"https://codeload.github.com/Ayanami1314/eBookStore_Frontend/tar.gz/refs/heads/se3353","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235538037,"owners_count":19006076,"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":[],"created_at":"2025-01-25T05:01:12.733Z","updated_at":"2025-10-06T18:30:43.793Z","avatar_url":"https://github.com/Ayanami1314.png","language":"TypeScript","funding_links":[],"categories":["课程列表"],"sub_categories":["Database System-Book Store"],"readme":"# 使用\n## 分支\n- master分支是互联网应用开发课程结束的分支\n- se3353分支是应用系统体系架构课程结束的分支\n## 架构\n- 采用 react + vite + react query + zustand + axios + antd\n- 前后端交互的api参见hooks, 可根据实现的不同修改, 基本与https://apifox.com/apidoc/shared-663d000b-fc08-412b-944a-b6f587db33f3/api-149700766 相同,在此基础上添加\n## quickStart\n1. 下载依赖(建议使用交大源)\n```\nnpm install\n```\n2. 创建.env文件\n```\nVITE_BACKEND_URL=\"https://localhost:8443\"\nWS_BACKEND_URL=\"wss://localhost:8443\"\n```\n根据实际后端情况定义这两个环境变量即可,\n如果是master分支无websocket不需要定义`WS_BACKEND_URL`\n\n3. `npm run dev`启动测试环境, 即可在浏览器中查看\n\n# React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:\n\n- Configure the top-level `parserOptions` property like this:\n\n```js\nexport default {\n  // other rules...\n  parserOptions: {\n    ecmaVersion: \"latest\",\n    sourceType: \"module\",\n    project: [\"./tsconfig.json\", \"./tsconfig.node.json\"],\n    tsconfigRootDir: __dirname,\n  },\n};\n```\n\n- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`\n- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` \u0026 `plugin:react/jsx-runtime` to the `extends` list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAyanami1314%2FeBookStore_Frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAyanami1314%2FeBookStore_Frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAyanami1314%2FeBookStore_Frontend/lists"}