GithubHelp home page GithubHelp logo

zilaiyedaren / flash-waimai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microapp-store/flash-waimai

0.0 0.0 0.0 12.64 MB

一个仿照饿了么的外卖平台,包括手机端,后台管理, api服务

License: MIT License

JavaScript 18.05% HTML 0.06% Vue 32.49% CSS 0.49% Java 46.59% Less 0.18% SCSS 2.14%

flash-waimai's Introduction

flash-waimai

  • 一个简单的外卖系统,包括手机端,后台管理,api
  • 基于spring boot和vue的前后端分离的外卖系统
  • 包含手机端,后台管理功能
  • 本项目主要供交流学习,不建议商用。

技术选型

  • 核心框架:Spring Boot
  • 数据库层:Spring data jpa/Spring data mongodb
  • 数据库连接池:Druid
  • 缓存:Ehcache
  • 前端:Vue.js
  • 数据库:mysql5.5以上,Mongodb建议4.0(不要使用4.2及其已上版本,否则有部分api需要自行调整)

模块

  • flash-waimai-mobile 手机端站点
  • flash-waimai-manage后台管理系统
  • flash-waimai-api java接口服务
  • flash-waimai-core 底层核心模块
  • flash-waimai-generate 代码生成模块

快速开始

  • 数据存储采用了mysql和mongodb,其中基础管理配置功能数据使用mysql,业务数据使用mongodb存储。
  • 创建mysql数据库
    CREATE DATABASE IF NOT EXISTS waimai DEFAULT CHARSET utf8 COLLATE utf8_general_ci; 
    CREATE USER 'waimai'@'%' IDENTIFIED BY 'waiMAI@123';
    GRANT ALL privileges ON waimai.* TO 'waimai'@'%';
    flush privileges;
  • mysql数据库创建好了之后,启动flash-waimai-api服务,会自动初始化数据,无需开发人员自己手动初始化数据
  • 安装mongodb并创建数据库:flash-waimai 使用mongorestore命令 导入mongodb数据,由于测试数据量较大,打包放在了百度云盘:链接:https://pan.baidu.com/s/1lOvhN1-Y1M0-FZAwGHus7Q 提取码:4qz7 。下载后将文件解压到d:\elm,如下命令导入数据:
mongorestore.exe -d flash-waimai d:\\elm

运行效果图

  • 后台管理 admin
  • 手机端
    mobile

在线演示

文档

https://microapp.gitee.io/flash-waimai

开发进度

  • flash-waimai-manage [初步完成]
  • flash-waimai-mobile[完善中]

鸣谢

交流

  • qq群: 936439613;qq群仅为方便网友互相交流,作者基本不会在群里回复,如果需要跟作者提问题,可以通过项目主页提issue;qq群禁止发广告,发者立删

flash-waimai's People

Contributors

enilu avatar bihell avatar anguskk 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.