https://github.com/funnyPan/xmind-work
简易的记账本项目需求:构建一个简易的记账本应用程序
项目地址:https://github.com/xmindltd/hiring/blob/master/frontend-1/README.md
需求分析
- 读写csv文件
- 日期筛选
- 统计收支总额及支出明细
- 日期转化及账单分类对应
- 账单分类筛选
- 金额排序
技术选型
- nodejs
- hapi.js //提供rest api
- papaparse //解析csv
- dayjs //解析时间
- vue //页面渲染
- nodemon //持久化运行node服务
- webpack //打包页面
- iview //组件库
开发环境
- WebStorm
- Mac os 10.15.4
- iterm2
- node 12.16.3
- chrome
- docker 19.03.8
安装部署
- 本地
git clone https://github.com/funnyPan/xmind-work.git
cd xmind-work
npm install && npm install -g nodemon
npm run build
nodemon app.js
访问 http://localhost:3333/index.html
- docker(推荐)
docker version=19.03.8
docker镜像源加速:在Registry mirrors加入http://f1361db2.m.daocloud.io
参考https://www.daocloud.io/mirror#accelerator-doc
docker build -t xmind .
docker run -d -p 3333:3333 xmind
访问 http://localhost:3333/index.html