Backend Development 5 min read

Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial

This article introduces a full‑stack food‑delivery project built with Spring Boot, Vue.js, MySQL and MongoDB, detailing its architecture, module breakdown, technology choices, database setup, and step‑by‑step instructions for launching the backend API, admin portal, and mobile client, along with download links for data and images.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial

Project Overview

The Flash‑Waimai project is a complete food‑delivery system that includes a mobile client, a backend management console, and a RESTful API, intended for learning and exchange rather than commercial use.

Technology Stack

Core framework: Spring Boot

Database layers: Spring Data JPA and Spring Data MongoDB

Connection pool: Druid

Cache: Ehcache

Frontend: Vue.js

Databases: MySQL 5.5+ and MongoDB 4.0 (avoid newer 4.2)

Modules

flash‑waimai‑mobile – mobile site

flash‑waimai‑manage – admin management system

flash‑waimai‑api – Java API service

flash‑waimai‑core – core library

flash‑waimai‑generate – code generation module

Quick Start

Data storage uses MySQL for basic configuration data and MongoDB for business data.

MySQL setup :

CREATE DATABASE IF NOT EXISTS waimai DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
CREATE USER 'waimai'@'%' IDENTIFIED BY 'waimai123';
GRANT ALL privileges ON waimai.* TO 'waimai'@'%';
FLUSH privileges;

After creating the MySQL database, start the flash‑waimai‑api service; it will auto‑initialize data.

MongoDB setup :

Install MongoDB, create the flash‑waimai database, and restore test data using:

mongorestore.exe -d flash‑waimai d:\elm

Download the data archive from the provided Baidu Cloud link (提取码: 7f8h) and place images in the directory configured by t_sys_cfg.system.file.upload.path .

Running the Admin Platform

Enter flash‑waimai‑manage directory

Run npm install --registry=https://registry.npm.taobao.org

Run npm run dev

Open http://localhost:9528 and log in with username/password admin/admin

Running the Mobile Client

Enter flash‑waimai‑mobile directory

Run npm install --registry=https://registry.npm.taobao.org

Run npm run local

Open http://localhost:8000

Demo Screenshots

Images show the admin backend and mobile client interfaces.

Source Code Access

Reply with the keyword “外卖” to the public account to receive the project repository link.

Additional Resources

The article also lists other high‑quality source code packages (IDEA activation codes, ERP system, workflow management, OA system, visual big‑screen projects, etc.) with Baidu Cloud download links.

Spring BootMySQLVue.jsTutorialmongodbFull-StackFood Delivery
Java Architect Essentials
Written by

Java Architect Essentials

Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.