{"id":17328243,"url":"https://github.com/whtsky/stuscores","last_synced_at":"2025-04-13T14:32:53.707Z","repository":{"id":128948795,"uuid":"73808485","full_name":"whtsky/stuScores","owner":"whtsky","description":"学生成绩管理系统","archived":false,"fork":false,"pushed_at":"2020-10-27T09:53:38.000Z","size":1152,"stargazers_count":11,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T05:28:32.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","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/whtsky.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":"2016-11-15T11:47:12.000Z","updated_at":"2024-11-16T01:27:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"fde78d6f-1e63-4ae9-8786-e02f05114ea6","html_url":"https://github.com/whtsky/stuScores","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2FstuScores","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2FstuScores/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2FstuScores/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2FstuScores/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whtsky","download_url":"https://codeload.github.com/whtsky/stuScores/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248728185,"owners_count":21152176,"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":"2024-10-15T14:23:08.688Z","updated_at":"2025-04-13T14:32:53.682Z","avatar_url":"https://github.com/whtsky.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stuScores\n\n基于 Jersey + Vue 2 的 C/S 学生成绩管理系统。\n采用前后端分离设计， 部署时需要运行 API Server 、 编译前端代码并配置 Nginx 。\n当然，你可以使用我们预先编译好的 [Docker]((https://docs.docker.com/engine/installation/)) 镜像来快速启动一个预览服务器：\n```bash\ndocker run -p 8788:8788 whtsky/stuscores\n```\n\n然后在浏览器里打开 [http://127.0.0.1:8788/](http://127.0.0.1:8788/) 。\n\n\n## 前端\n```bash\n# 安装 Nodejs 与 yarn\nbrew install yarn\n# 安装依赖\ncd frontend\nyarn\n\n# 运行开发服务器\nyarn dev\n# build\nyarn build\n```\n\n\n## API Server\nAPI Server 使用 Jersey 框架编写， 数据库使用 SQLite 。针对 Student 、 Exam 、 Score 、 Subject 四个模型暴露了 Restful JSON API，方便客户端调用。\n为了开发、调试方便， API Server 默认会 host 静态文件。 **强烈建议在生产环境下使用 Nginx host 静态文件**.\n\n### 编译\n\n** \n\n需要 Java 8 + Maven 3\n\n```bash\nbrew cask install java\nbrew install maven\n```\n\n然后：\n\n```bash\nmvn clean package\njava -jar target/stuScores-1.0-SNAPSHOT.jar\n```\n之后在浏览器里打开 [http://127.0.0.1:8788/](http://127.0.0.1:8788/)\n\n## 部署\n部署过程稍微有些繁琐， 所以我们写好了 `docker-compose.yml` 文件。 最简单的部署方法是安装 [Docker](https://docs.docker.com/engine/installation/) 和 [Docker Compose](https://docs.docker.com/compose/install/) ，然后运行\n```bash\ndocker-compose up\n```\n\n\n## 参考资料\n\n+ Maven: [Maven in 5 minutes](http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)\n+ Jersey: [Jersey User Guide](https://jersey.java.net/documentation/latest/index.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fstuscores","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhtsky%2Fstuscores","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fstuscores/lists"}