Giter Club home page Giter Club logo

zerb's Introduction

zerb

项目简介

  • 采用后端分离实现简单的员工管理功能。
  • 前端vue实现响应式布局,支持分页,crud操作。按需加载elementUI,减小打包体积。
  • 后端采用nodejs+koa实现,使用校验器校验路由参数,转发请求至json-server api获取数据。
  • 基于第三方库实现全局异常处理,使后台代码更简洁,可读性高。

启动项目

分别启动前后端项目

后端zerb_BE 目录下执行:

yarn
yarn start:dev

前端zerb_FE目录下执行:

yarn 
yarn start

docker 增加dokcer配置 打包 启动服务成功 访问未成功

docker-compose up -d

访问地址

前端: http://localhost:8080
后端: http://localhost:5000
数据API: http://localhost:3002

测试

前后端均采用jest测试部分功能,测试页面布局,功能方法以及异步数据。

部分页面截图

根目录下 screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.