Git Product home page Git Product logo

meal-order's Introduction

食 - 多人实时订餐系统

《食》是一个多人同时点餐的系统。 适应的场景:多人点餐,最后汇总成一个订单,并提交给卖家。

技术选型

  1. 服务器端使用 express 和 nodejs
  2. 数据库采用 mongodb
  3. 前段框架使用 angularJS
  4. 页面UI采用bootstrap系主题

项目准备

  1. 安装mongodb数据库

具体安装方式,请根据自身电脑类型,自行完成。

安装完成后,进行数据库配置(以下在mongd启动之后,命令行中执行):

    mongd
    use food
    db.createUser({
        user: "admin",
        pwd: "123456",
        roles: [{
            role: "userAdmin",
            db: "food"
        }, {
            role: "readWrite",
            db: "food"
        }]
    });
  1. fork并下载代码到本地

代码下载到本地后,在项目目录下执行命令来安装项目依赖的插件。

(这一步,是在你已经安装了nodejs及npm的前提下,如果没有安装,请自行安装)

    npm install
  1. 在配置好数据库,并安装好项目以来插件后,就是启动系统并访问了

完成前两步后,直接在项目根目录下执行以下命令来启动系统:

    node app

然后,就在浏览器中访问系统:

    localhost:3000
  1. 到达这一步,说明你已经成功访问系统了。

meal-order's People

Contributors

zollero avatar

Watchers

James Cloos avatar Qwen avatar

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.