Skip to content

kimsoar/ZKWeb.MVVMDemo

 
 

Repository files navigation

SPA demo based on ZKWeb framework Build status

Different to ZKWeb.Demo, this demo use Entity Framework Core and it's a single page application.
Also it supports linux (docker) hosting, which ZKWeb.Demo doesn't for now.

This demo is host on http://mvvmdemo.zkweb.org

Screenshots

preview

Features

  • Use AngularJS 4.0 + Webpack 2.0
    • Support automatic generate script form dto and application service
    • Support return pre-compressed script bundle
    • Support CORS api request
  • Use Entity Framework Core
  • Use Swagger
  • Use AutoMapper
  • Support .Net Core
  • Support multi-tenant
  • Support multi-language
  • Support multi-timezone
  • Support scheduled task
  • Support unit of work
    • Support query filter
    • Support operation filter
  • Support automatic validate DTOs from request
  • Provide default admin panel with PrimeNG
    • Support manage tenants
    • Support manage roles
    • Support manage users
  • Provide command line compile and publish script
  • Provide Dockerfile, support running in docker

How to start

Use taobao npm mirror if needed

npm config set registry http://registry.npm.taobao.org
npm config set sass_binary_site http://npm.taobao.org/mirrors/node-sass

Build website files

cd src/ZKWeb.MVVMPlugins/MVVM.Angular.Website/static
npm install
npm run build

**Modify database configuration"

Open ZKWeb.MVVMDemo.AspNetCore\App_Data\config.json and modify database configuration.

Start website

Open ZKWeb.MVVMDemo.sln with VS2017 and run the project.

Use webpack-dev-server (optional)

If you want more verbose error message and faster recompilation you can use webpack-dev-server,
Run following command and open http://127.0.0.1:3000 in your browser.

npm run dev

Documents

LICENSE

LICENSE: MIT LICENSE
Copyright © 2017 303248153@github
If you have any license issue please contact [email protected].

About

SPA demo based on ZKWeb framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 65.1%
  • TypeScript 24.4%
  • HTML 7.5%
  • JavaScript 2.2%
  • CSS 0.4%
  • Shell 0.3%
  • Batchfile 0.1%