{"id":19992687,"url":"https://github.com/zkweb-framework/ZKWeb.MVVMDemo","last_synced_at":"2025-05-04T11:31:45.152Z","repository":{"id":19572391,"uuid":"87370728","full_name":"zkweb-framework/ZKWeb.MVVMDemo","owner":"zkweb-framework","description":"SPA demo based on ZKWeb framework","archived":false,"fork":false,"pushed_at":"2023-01-01T05:18:54.000Z","size":3496,"stargazers_count":83,"open_issues_count":26,"forks_count":27,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-04-14T19:58:46.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zkweb-mvvm-demo.app.compiv.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkweb-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-06T01:03:16.000Z","updated_at":"2021-09-15T02:07:36.000Z","dependencies_parsed_at":"2022-08-25T08:51:07.401Z","dependency_job_id":null,"html_url":"https://github.com/zkweb-framework/ZKWeb.MVVMDemo","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/zkweb-framework%2FZKWeb.MVVMDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkweb-framework%2FZKWeb.MVVMDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkweb-framework%2FZKWeb.MVVMDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkweb-framework%2FZKWeb.MVVMDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkweb-framework","download_url":"https://codeload.github.com/zkweb-framework/ZKWeb.MVVMDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252329584,"owners_count":21730644,"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-11-13T04:52:16.452Z","updated_at":"2025-05-04T11:31:40.144Z","avatar_url":"https://github.com/zkweb-framework.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# SPA demo based on ZKWeb framework [![Build status](https://ci.appveyor.com/api/projects/status/412kh8yf7yd915j1?svg=true)](https://ci.appveyor.com/project/303248153/zkweb-mvvmdemo)\n\nDifferent to [ZKWeb.Demo](https://github.com/zkweb-framework/ZKWeb.Demo), this demo use Entity Framework Core and it's a single page application.\u003cbr/\u003e\nAlso it supports linux (docker) hosting, which [ZKWeb.Demo](https://github.com/zkweb-framework/ZKWeb.Demo) doesn't for now.\n\n# Screenshots\n\n![preview](./docs/preview.jpg)\n\n# Features\n\n- Use AngularJS 6.0 + NgCli\n    - Support automatic generate script form dto and application service\n    - Support return pre-compressed script bundle\n    - Support CORS api request\n- Use Entity Framework Core\n- Use Swagger\n- Use AutoMapper\n- Support .Net Core\n- Support multi-tenant\n- Support multi-language\n- Support multi-timezone\n- Support scheduled task\n- Support unit of work\n    - Support query filter\n    - Support operation filter\n- Support automatic validate DTOs from request\n- Provide default admin panel with PrimeNG\n    - Support manage tenants\n    - Support manage roles\n    - Support manage users\n- Provide command line compile and publish script\n- Provide Dockerfile, support running in docker\n\n# How to start\n\n**Use taobao npm mirror (optional)**\n\nIf you're in china, use taobao registry will make the npm command much happier.\n\n```\nnpm config set registry http://registry.npm.taobao.org\nnpm config set sass_binary_site http://npm.taobao.org/mirrors/node-sass\n```\n\n**Build website files**\n\n```\ncd src/ZKWeb.MVVMPlugins/MVVM.Angular.Website/static\nnpm install -g @angular/cli\nnpm install\nng build --prod --aot\n```\n\n**Modify database configuration (optional)**\n\nOpen `ZKWeb.MVVMDemo.AspNetCore\\App_Data\\config.json` and modify database configuration.\u003cbr/\u003e\nBy default it uses sqlite.\n\n**Start website**\n\nOpen `ZKWeb.MVVMDemo.sln` with visual studio (\u003e= 2017) and run the project.\u003cbr/\u003e\nIf you're using linux, please install libgdiplus by following the instruction on [here](https://github.com/zkweb-framework/ZKWeb.System.Drawing).\n\n**Use ng-serve (optional)**\n\nIf you want more verbose error message and faster recompilation you can use ng-serve, \u003cbr/\u003e\nFirst, modify `apiUrlBase` in `src/ZKWeb.MVVMPlugins/MVVM.Angular.Website/static/index.html`, use the proper api server address, then run `ng serve` under `src/ZKWeb.MVVMPlugins/MVVM.Angular.Website/static`.\n\n# Documents\n\n- [Chinese Documents(中文文档)](./docs/cn)\n\n# LICENSE\n\nLICENSE: MIT LICENSE\u003cbr/\u003e\nCopyright © 2017-2018 303248153@github\u003cbr/\u003e\nIf you have any license issue please contact 303248153@qq.com.\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkweb-framework%2FZKWeb.MVVMDemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkweb-framework%2FZKWeb.MVVMDemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkweb-framework%2FZKWeb.MVVMDemo/lists"}