{"id":16640284,"url":"https://github.com/yuzd/spa","last_synced_at":"2025-07-04T08:34:17.941Z","repository":{"id":97071823,"uuid":"239936596","full_name":"yuzd/Spa","owner":"yuzd","description":"单页面应用容器,netcore前后端分离,前端快速部署\u0026回滚,会js就能写服务端脚本方案,用spa前端容器会js就是可以无所不能","archived":false,"fork":false,"pushed_at":"2022-05-03T05:49:30.000Z","size":1139,"stargazers_count":24,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T14:32:39.247Z","etag":null,"topics":["single-page-app","single-page-applications","spa"],"latest_commit_sha":null,"homepage":"https://github.com/yuzd/Spa/wiki","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuzd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-02-12T05:44:14.000Z","updated_at":"2025-03-05T16:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"dec652da-262a-4aef-8a7b-4ef3550f7fb9","html_url":"https://github.com/yuzd/Spa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuzd/Spa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzd%2FSpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzd%2FSpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzd%2FSpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzd%2FSpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuzd","download_url":"https://codeload.github.com/yuzd/Spa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuzd%2FSpa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260474479,"owners_count":23014725,"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":["single-page-app","single-page-applications","spa"],"created_at":"2024-10-12T07:08:22.806Z","updated_at":"2025-07-04T08:34:17.930Z","avatar_url":"https://github.com/yuzd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 前端容器功能一览：\n- 前端应用开发完后打包后自助上传部署\n- 配合服务端脚本实现服务端渲染SSR功能\n- 可以快速回滚到上一个版本\n- 可以设置环境变量供SSR功能使用\n- 服务端脚本提供log redis db http四大插件打造强大的基于js的ssr服务端运行脚本功能\n- 服务端js脚本编辑器有智能代码提示\n- 权限管理:轻量级casbin权限RABC\n- Docker快速启动服务,一行命令搞定一个前端web容器\n\n## 本方案的目的\n\n服务端渲染 前端开发是没办法独立完成的，（除非用nodejs，但是还得要搭建nodejs的服务端 对于前端开发不仅要会nodejs后端技能，还得每次发布部署都是比较麻烦），基于我这套方案，只需要一次部署 ，这个系统给前端使用，可以独立完成服务端渲染。前端只需要会些js html css ，精力放在业务上就好了。\n\n## 快速部署，各功能介绍使用 请查看wiki  https://github.com/yuzd/Spa/wiki\n\n## 截图介绍\n\n\n### 首页\n![image](https://images4.c-ctrip.com/target/zb0g1d000001eeg3h59E0.png)\n\n\n### 新建前端应用\n![image](https://images4.c-ctrip.com/target/zb0j1d000001ed9vpCE40.png)\n\n![image](https://images4.c-ctrip.com/target/zb091d000001eg5teF67C.png)\n\n### 重新部署上传，快速回滚到上一个上传版本\n![image](https://images4.c-ctrip.com/target/zb0d1d000001eca8g5E55.png)\n\n### 全局配置\n![image](https://images4.c-ctrip.com/target/zb0a1d000001ef32eC2D8.png)\n\n### 服务端JS脚本编辑器,有智能提示代码\n![image](https://images4.c-ctrip.com/target/zb0h1d000001eleyd2B05.png)\n\n### 日志查看\n![image](https://images4.c-ctrip.com/target/zb0s1d000001ekn161874.png)\n\n### 权限管理\n![image](https://dimg04.c-ctrip.com/images/0v52m120009fxw6gcB3A4.png)\n\n### 接下来要做的\n- 可以查看发布记录,有发布时间，发布人员，发布内容，可以查看和上一个版本diff,有哪些文件内容有变动\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuzd%2Fspa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuzd%2Fspa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuzd%2Fspa/lists"}