Github address: singleStore

Effect:













Description:

Main function points: 1, menu function (custom menu background, dishes controllable state the background (carry out) sold out,) 2, fixed-point statistics (real-time calculation, total goods commodity item, all goods sold months selling point every day update) 3, order function (address automatically loading the default delivery time according to operating time automatically adjust) 4, evaluation function (text, pictures, 5 star, 5, address 6, historical order (one more order) 7, order status scan code change 8, print order (automatically print order after placing an order) 9, business rest function + long link (in addition to setting business hours, You can also change the rest state at any time to decide whether to open or not.

1. Technology selection: Background: Node (Express) + mongodb(Mongoose) + Redis background front-end page: vue mini programs: (rely on app.socket. IO. Package. json, check it out

2. Notes and Problems: 1) The development time is relatively short, and the details are not well handled. Callbacks are written directly in the store, and no promise,await and other processing is used. 3), mongodb directory name test 4), redis need to set the password to start, the password is ecp 5), the token store redis, there is no request operation time is 5 minutes by default, any request operation will be updated time 6), changes in the next project:

"SRC /views/login.vue" host "host" app.js "host" SRC /views/login.vue "SRC /views/login.vue" host "host" app.js "SRC /views/login.vue" SRC /views/login.vue "SRC /views/login.vue" SRC /views/login.vue "SRC /views/login.vueCopy the code

7), because the small program is a personal registration, there is no carrier of the company, the current payment function is not added 8), the printing is a thermal printer, if necessary, please buy by yourself, the development version can 9), front-end check is not added, there is a need to supplement 10), the background is just to achieve the function, there is a need to supplement the security filter

3. Project startup instructions: After the project is installed, run NPM install in the backEnd directory to download dependent packages. Run NPM install in the frontEnd directory to download dependent packages, weixinSmall needs to copy to its own small program. Start mongodb and redis first, and then run Supervisor Index in the backEnd directory and NPM run dev in the frontEnd directory. Note: When Supervisor Index is started, changes in background code are responded in real time

Have a question can send QQ mailbox ([email protected]), there will be free to see back