Introduction
-
A complete takeaway system, including mobile terminal, background management, api
-
Takeaway system based on spring boot and vue separated front and back ends
-
Contains complete mobile terminal and background management functions
Technical selection
-
Core framework: Spring Boot
-
Database layer: Spring data jpa/Spring data mongodb
-
Database connection pool: Druid
-
Cache: Ehcache
-
Front end: Vue.js
-
Database: mysql5.5 and above, Mongodb4.0 (do not use the latest version 4.2)
Module
-
flash-waimai-mobile mobile site
-
flash-waimai-manage background management system
-
flash-waimai-api java interface service
-
flash-waimai-core low-level core module
-
flash-waimai-generate code generation module
Quick start
-
The data storage uses mysql and mongodb. The basic management configuration function data uses mysql and the business data uses mongodb storage.
-
Create mysql database
Edit search
Please click to enter picture description
-
After the mysql database is created, start the flash-waimai-api service, and the data will be initialized automatically, without the need for developers to manually initialize the data.
Install mongodb and create a database: flash-waimai uses the mongorestore command to import mongodb data. Due to the large amount of test data, it is packaged on Baidu cloud disk: After downloading, unzip the file to d:\elm, and import the data with the following command:
Edit search
Please click to enter picture description
-
Download the pictures of the project test data (business and food pictures) and store the pictures in the directory configured by system.file.upload.path in the t_sys_cfg table
-
Start the management platform
-
Start the mobile terminal
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Edit search
Please click to enter picture description
Open source project address: follow me and add VX: MXW5308 to get it for free