SuperAPI AI Directory

Vibe Coding in Action with Mashangfei - Build a Restaurant Ordering Mini Program in 10 Minutes

Author: AI小集 · Original source: AI工具集

Recently, the concept of the "Yiwu AI Shop" has become very popular, and many ordinary people have started trying to run their own digital micro-businesses.

In the past, opening a small shop required knowing how to select products, decorate, take photos, provide customer service, write copy, and also understand a little technology.

If you choose to join the major existing e-commerce platforms, you cannot avoid paying fees, and you are also constrained by various cumbersome rules.

But recently I discovered that many friends with no technical background at all are using a tool calledMashangfeito easily break through.

WithMashangfei, I can directly Vibe Coding a usable mini program with natural language~

No code needs to be written throughout the entire process, and the features are very complete, including frontend and backend, payment functionality, built-in AI customer service, and it can also generate promotional materials based on application information~

It can be said that product launch, content marketing, and pre-sales and after-sales service are all covered.

Today, let's do a practical tutorial: how to quickly build and run a useful mini program through straightforward conversation without writing a single line of code.

 

01. Record of Running a Small Shop with AI

 

We open the Mashangfei official website.

Official website:https://www.codeflying.net

Generate an application in one sentence

We directly enter the requirement in the input box:

Generate a restaurant online ordering mini program.

Mashangfei will act like a product manager, first confirming with us the detailed business scenario and core requirements, such as what is the main service scenario of the mini program? What information needs to be displayed on the page? Is online payment functionality needed?

It also provides a blank input box, making it convenient for me to add specific ideas.

I sorted through it and added the following specific information in the dialog box:

1. Mainly serving takeout/self-pickup customers. 2. Needed. 3. Online payment. My shop name: Sister K's Canteen Menu details: [specific menu]

After a short while, based on my input, Mashangfei had already preliminarily planned the mini program's visual style, core functions, and applicable scenarios.

The design is quite suitable, but regarding the supply time periods, the default solution seems to only provide a text reminder. To avoid customers mistakenly placing orders outside business hours, I hope the system can enforce a hard restriction. For example, breakfast is only sold in the morning, and after the time passes, orders cannot be placed.

So I raised a modification suggestion in the input box on the right:

While marking the supply time periods, can it support putting items on the shelf during the supply time period and taking them off the shelf outside the supply time period?

Mashangfei quickly understood my intention and provided an adjustment plan: the system automatically controls the listing/delisting of dishes according to the current time: outside the supply time period, the corresponding category or dish will automatically be hidden or displayed as "Sold Out."

This approach is right, and we can directly click confirm.

In less than ten minutes, Mashangfei completed the development of the mini program and directly provided a real-time preview on the right side of the page:

I immediately clicked in to try it out.

The 5 major categories were created, but the supply times were incorrect, and currently all dishes are displayed as sold out.

At times like this, with traditional development, you might need to find the code, check the fields, and modify the logic.

But in Mashangfei, we can directly let the AI adjust it.

Ma Shang Fei first confirmed the time configuration with us, then told me where to adjust it.

When Ma Shang Fei generated the mini program, it also generated a management backend at the same time, where dishes, orders, and options can all be edited and adjusted.

Following its reminders, I went into the backend to edit the supply times.

After making the changes, I went back to the frontend and refreshed, and this time the supply times were correct.

All dishes within the supply period can be ordered normally.

But a new problem came up: every dish displayed specification options underneath, and every single item required choosing a bunch of unnecessary options, which was very troublesome.

For example, to order a bowl of noodles, you not only had to choose noodles/rice noodles, but also had to choose irrelevant options like medium cup/large cup and less sugar/normal sugar/extra sugar.

So I continued to have Ma Shang Fei make changes:

Not all dishes have the same specification options. The specialty noodles series supports choosing specifications: noodles/rice noodles, no scallions, no cilantro, no minced garlic, no pickled cabbage; the fruit tea series supports choosing specifications: less sugar, normal sugar, extra sugar; optional temperature: room temperature, less ice; optional toppings: none/+coconut jelly 1 yuan/+pearls 1 yuan/+boba 2 yuan;

I really like how Ma Shang Fei handles things: before each execution, it first confirms the overall approach with me. Then it sorts out what needs to be modified, which features are already implemented, and which need to be added or changed.

After I confirm, it then executes. The editing results are precise.

Let's take a look together at the results after the changes:

The ordering mini program correctly displays the specification options. What surprised me was that Ma Shang Fei could judge on its own, based on business logic, which specifications are single-select and which can be multi-select.

Now the noodles series lets you choose noodles or rice noodles, and also supports multi-select for no cilantro, no scallions… The fruit tea series is the same: sweetness is single-select, temperature is single-select, toppings can be multi-select, and the price is calculated accordingly!

Ma Shang Fei also has apartial modificationbutton. Once enabled, you can directly box-select a certain area on the page and have the AI modify just that part.

For example, if we think a certain button is too big, a certain piece of information is unclear, or a certain product card is poorly arranged, there's no need to re-describe the entire application.

Just click on the page, explain how you want it changed, and that's it.

For an ordinary small shop owner, this is really very practical. Ma Shang Fei understands business logic; we can say something casually and it understands how to adjust it.

At the same time, it can also generate a management backend, where orders, products, and business data are all clear at a glance.

Business Assistant

Even more interesting is that Ma Shang Fei also comes with a Business Assistant.

I gave it a try and had the promotion assistant generate promotional copy:

The promotion assistant can directly write several versions of promotional copy based on the content in the mini program.

Changing it to a casual social-media style is no problem either:

It can also generate promotional poster materials and promotional posters based on the content in the application.

However, the poster images and the real QR code need to be replaced by yourself~

If you ask the Business Assistant how many orders there are today, it can immediately calculate it based on the existing application information~

Ma Shang Fei doesn't just help us create the mini program; it also conveniently connects our subsequent operational actions.

The Ma Shang Fei Business Assistant can directly connect to WeCom, turn into a customer service agent, and help us handle reception:

We click configure, follow the prompts, tap tap tap, and the configuration is done.

When customers have questions in the mini program, the AI customer service can come online to answer common questions, helping us share part of the daily communication workload.

After adjusting all the details, click Publish in the upper right corner of the page, and it can be published as a WeChat mini program and officially go live!

 

02. Some Sharing

 

Most of the many AI Coding products we have encountered before remain at the stage of improving efficiency for developers. AI helps us generate a bunch of code snippets, but after ordinary people get them, they still face many technical barriers such as how to configure servers, how to deploy and go live, and how to connect to databases.

Mashangfei is closer to a one-stop business operation platform. It can not only help us generate the front-end interface, but also configure the back-end management interface and business assistant at the same time.

Mashangfei solves not only development challenges, but also, through business dashboards and AI customer service, helps us share the pressure of operations, promotion, and pre-sales and after-sales support, seamlessly combining technical R&D with daily business operations, making it practically feasible for ordinary people to run a small business at zero cost.

AI is turning the "one-person company" from a frontier ideal for a minority into a reality that everyone can explore at low cost.

In the traditional business context, bringing a digital idea to life often requires collaboration among multiple roles such as product managers, front-end developers, back-end developers, and operations staff, and the cost of trial and error is high.

Now, technical barriers are gradually being smoothed out by the evolution of tools. An individual with clear logic and keen insight into user needs can, with the help of such platforms, quickly build a digital system that supports business operations all alone.

When technology is no longer the only moat, we may see more interesting and warm micro-businesses happening around us.

Original link:Without writing a single line of code, I used AI to build a food-ordering mini program