https://github.com/c7w/reqman-frontend
Your Requirement Management Servant, ReqMan. Project for Software Engineering of 2022 Spring.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 6 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.2%) to scientific vocabulary
Repository
Your Requirement Management Servant, ReqMan. Project for Software Engineering of 2022 Spring.
Statistics
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Frontend
For Users
你需要在拉取仓库后在本地创建 .env.local 文件,并指定你的测试后端路径:
REACT_APP_BACKEND_URL=https://backend-dev-undefined.app.secoder.net
当然为防止测试环境发生数据大型丢失,你可以在本地拉取后端仓库后以 sqlite3 模式运行,并在这里填写你的本地后端回调地址。
For Developers
请先阅读项目规范,然后再继续阅读本部分。
IDE:
WebStorm:**latest**(recommended)- Or
vscodewitheslintandprettierconfigurated
- Or
yarn install补全node_modulesyarn start开启本地网页yarn fix使用 prettier 自动修复风格化问题yarn lint使用 eslint 检查是否存在格式问题
项目安装了 .husky pre-commit 钩子,在每次 commit 的时候自动运行 yarn lint,只有没有格式问题时才允许 commit.
在 push 之前请确保本地运行 yarn lint 与 yarn build 没有问题,不然就算是 push 了也过不了 CI 测试,不允 Pull Request.
关于 Slice 在不同 Route 之间同步,参见: + https://github.com/supasate/connected-react-router
前端项目路径规范
assets存储静态资源Layout中放置基本的外观组件Components中放置功能组件的外表store中存储全局变量functions中存储与后端通信用函数slices中存储变量状态的 Slice
page中存储功能部件Router.tsx全局路由route中存储不同的功能部件
./page/route 中的功能部件通过调用 ./store/ 中的 reducers / getter 读取/写入变量状态(与后端通信),然后将数据作为 props 给 ./components 和 ./layout 并将该组件 return,使其能够成功渲染。
Owner
- Name: Huan-ang Gao
- Login: c7w
- Kind: user
- Location: Beijing, China
- Company: Tsinghua University
- Website: https://c7w.tech
- Twitter: c7wc7w
- Repositories: 6
- Profile: https://github.com/c7w
Junior @ Computer Science and Technology, Tsinghua Univ. && Research Intern @AIR-DISCOVER
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 143
- Total pull requests: 0
- Average time to close issues: less than a minute
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 5.68
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- c7w (143)