Backend Development 4 min read

Flash-Waimai: A Complete Food Delivery System Based on Spring Boot and Vue.js

Flash‑Waimai is an open‑source, full‑stack food delivery application featuring a mobile client, admin portal, and API, built with Spring Boot for the backend, Vue.js for the frontend, MySQL and MongoDB for data storage, and includes detailed setup instructions, code snippets, and deployment guides.

Java Captain
Java Captain
Java Captain
Flash-Waimai: A Complete Food Delivery System Based on Spring Boot and Vue.js

Flash‑Waimai is a complete food‑delivery system that includes a mobile client, an admin management portal, and a Java API service.

Technology stack: Backend uses Spring Boot, Spring Data JPA, Spring Data MongoDB, Druid connection pool, and Ehcache; the frontend is built with Vue.js. Data is stored in MySQL (5.5+) and MongoDB (4.0).

Modules: flash‑waimai‑mobile (mobile site), flash‑waimai‑manage (admin system), flash‑waimai‑api (Java API), flash‑waimai‑core (core library), flash‑waimai‑generate (code generator).

Quick start – 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 data import: Install MongoDB, then run the following command (the data archive is provided via Baidu Cloud):

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

Download the test images for merchants and food items and place them in the directory configured by system.file.upload.path in the t_sys_cfg table.

Start the admin platform:

Navigate to flash-waimai-manage directory.

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

Run npm run dev .

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

Start the mobile client:

Navigate to flash-waimai-mobile directory.

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

Run npm run local .

Access http://localhost:8000 .

The repository with full source code is available at https://gitee.com/microapp/flash-waimai . Screenshots of the admin dashboard and mobile UI are included in the original article.

Note: The project is intended for learning and exchange; commercial use is not recommended. The author appreciates likes and views.

Spring BootVue.jstutorialFull-StackFood Delivery
Java Captain
Written by

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

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.