{"repo":"ldw1216/amb","free":true,"listed":false,"github":"https://github.com/ldw1216/amb","clone":"git clone https://github.com/ldw1216/amb.git","description":"阿米巴 预算管理系统","language":"TypeScript","stars":12,"topics":["typescript","mobx","nodejs","mongodb","react"],"license":null,"category":"data-pipelines","readme_excerpt":"好看阿米巴管理系统 start 1. 参考原型 ：http://www.pmdaniu.com/cloud/23651/34ea771de53143df5a5a1f14f6556dc2-10237/start.html 2. 本项目依赖nodejs + react + mobx + mongodb 3. 数据库连接配置 可在/server/model/index.ts中配置数据库连接，也可使环境变量 MONGOOSE URI 配置数据库连接 4. 为了开发方便，本项目在window对象中增加了rootStore属性，可以在大多数文件中直接使用 window.rootStore 或 rootStore 项目目录结构 项目启动 + 后端 npm run server + 前端 npm run client + 同时启动 npm run dev + 如果后端没启动的话，只起动前端会因无法连接接口报错 项目部署 + 运行 npm run build 文件会打包到 /dist 文件夹 直接运行 NODE ENV=production node dist/server 可启动项目 或 npm start 启动项目 开发规范 + 所有数据库文件放入 \b /server/model 文件夹下，定义数据库时 一并定义 interface 到 /typings 文件夹下，定义到 namespace amb 且使用I开头","default_branch":null,"files":null,"tree":[],"storefront":"/r/ldw1216","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ldw1216/amb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}