Skip to content
/ canku Public
forked from willerce/canku

使用Nodejs编写多人订餐系统

Notifications You must be signed in to change notification settings

leecade/canku

 
 

Repository files navigation

餐库

canku 是一个使用 nodejs 编写的多人订餐程序,使用了 express , mongoskin 模块。使用 mongodb 做存储。

餐库的功能:

  1. 用户登录、注册
  2. 店铺、菜单的增删改,菜单支持特定的送餐日(如:周一,周二)
  3. 菜单支持分类功能
  4. 单店的上下午区分的订餐统计,以15时,作上下午的区分
  5. 每订单有运气值功能,当日单店运气值最低的负责打电话点餐

目前还在完善中,演示地址: http://canku.willerce.com

部署请参考,Noderce AppFog 部署指南:http://willerce.com/post/noderce-deploy-to-appfog

简单的部署介绍

git clone git@github.com:willerce/noderce.git

复制一份global.default.js,保存为 复制一份global.js,根据注释,修改参数。

运行 npm install 安装依赖包

运行 node app.js

店铺管理管理地址: http://yourname.com/admin

添加店铺

添加店铺、菜单管理功能比较简陋,作一些介绍

  1. 店铺菜单分类,格式:数字编号#分类名|数字编号#分类名|。例如:1#商务套餐|2#营养套餐|3#其它

  2. 样式,支持店铺CSS,主要用于对菜单列数进行一些调整,例如这个1行2列

    .food-list li {width: 269px;} .food-list li:nth-child(even) {margin-right: 0; float:right;}

##License

(The MIT License)

Copyright (c) 2013 willerce willerce@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

使用Nodejs编写多人订餐系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published