UNPKG

koa2-boilerplate-plus

Version:
45 lines (28 loc) 1.03 kB
koa2-boilerplate ==== This boilerplate shows ways to + Use mysql in Koa2 + CORS Ajax request + Ajax Login and Ajax Logout in Koa2, based on [koa-passport](https://github.com/rkusa/koa-passport) and [passport-local](https://github.com/jaredhanson/passport-local) + Export excel in Koa2, based on [excel-export](https://github.com/functionscope/Node-Excel-Export) + Serve static files in Koa2 + Integrate with Redux App + Use charts(D3.js, Echarts, plot) library in Redux App + Deploy Koa2 app with docker ### Preview [Online Demo](http://koa2-boilerplate.tarax.cn) ### Usage ``` $ npm install $ npm run start ``` ### Develop & Deploy + [中文版](https://github.com/superalsrk/koa2-boilerplate/wiki/develop-and-deploy.md) + [English](https://github.com/superalsrk/koa2-boilerplate/wiki/develop-and-deploy-en.md) ## Screenshots + Login Page ![Login Page](./src/public/assets/img/screenshots/koa-2-login-osx.jpeg) + Dashboard ![Dashboard](./src/public/assets/img/screenshots/koa-2-dashboard.jpeg) ### License MIT