跪拜 Guibai
← Back to the summary

Only Delivered When Mutual: Inside a Solo-Built, AI-Assisted WeChat Mini-Program

Trying a side hustle, so I hand-rolled this project

Preface

Recently, I turned a project I'd been thinking about for a long time into a real product and published my own personal mini-program: 诉述洞.

I don't expect this project to become my main career. The main goal is to accumulate experience in AI full-stack development through building it. I also hope this project can help some people and have a little (a little) market value, enough to cover server costs and the like.

Let me state upfront: I'm a frontend developer. This project was built by me alone with AI tools. Drawing on my development experience over the past few years, I hand-built it in my spare time, from product idea and page design, to frontend, backend, admin console, and server deployment. The reason for making it is simple: I wanted to seriously try a side business once, since the tech market is already full of uncertainty these days.

What kind of mini-program is this

wx-code.png

Simply put, you can make a request toward someone you know. Only when both parties have requests toward each other will the system notify them; otherwise, the request remains visible only to yourself.

Main image Request page Request records
e2db31ff1e35f1b05761c3f711007ae3.jpg cd7720874961c7161782ca545b9704d9.jpg image.png

There are many things in life we want to say but can never find the right moment.

For example, wanting to express affection toward someone but being afraid of being too abrupt; wanting to sincerely apologize but being held back by pride; wanting to say a formal thank you but worrying it's too ceremonious; or just being in a low mood and wanting to talk to someone you know.

诉述洞 aims to catch these unspoken requests.

Users can write a request toward a specific person they know, such as a confession, an apology, a thank you, heartfelt words, or venting. When the other person happens to have written a similar request toward you, the system completes a two-way match and notifies both parties.

It is not a stranger social square; it is more like a tree hollow between two people: only when both sides have expressed the same sentiment will the request be seen.

Usage scenario shown below; other details: 诉述洞 official site

image.png

What projects does this mini-program include

Although people see a mini-program, behind it there are actually three independent projects.

1. User-facing mini-program

The user side is developed with uni-app, where one codebase compiles to WeChat mini-program and H5.

Main tools used:

The reason for choosing uni-app: focusing primarily on WeChat mini-program first while keeping the possibility of H5 and app. Also, the native mini-program development experience is really poor. For a personal project, one codebase covering multiple platforms is cost-effective.

The mini-program currently includes these features:

In the launch version, 「诉果」can only be obtained for free through check-ins, events, etc. No top-ups, withdrawals, or cashing out. Payments and more complete membership benefits will be explored slowly in later versions.

2. Backend API

The backend is developed with NestJS, handling login authentication, request matching, Request Fruit, growth identities, Echoes, email notifications, and admin endpoints.

Main tech stack:

The core logic is the two-way matching of requests: after a user publishes a request, the system checks whether the target person has also published a request toward the user. Only when both conditions are met does a match succeed.

3. Admin dashboard

image.png

The admin dashboard is developed with Vue 3 + Vite, mainly for managing users, requests, points, and growth identity records myself.

Main tech stack:

The admin dashboard, user client, and backend are fully independently deployed. This way the user client can focus on user experience, while the dashboard handles data viewing and operations management.

Tech stack summary

Project Role Main tech
诉述洞 mini-program User client uni-app, Vue 3, TypeScript, Pinia, Wot Design Uni, Alova
dh-nest Backend API NestJS 11, TypeScript, TypeORM, MySQL, JWT, Zod, Nodemailer
dh-dashboard Admin dashboard Vue 3, Vite, Element Plus, Pinia

The three projects are placed in separate Git repositories and managed through a control repository that unifies documentation, conventions, and version combinations. They don't share source code or dependencies; interfaces are bounded by OpenAPI contracts.

This is somewhat troublesome, but the boundaries are clearer, and most importantly it's more convenient for AI to read and for openspec and other requirement spec documentation management.

Server and deployment

Live services are deployed on Alibaba Cloud servers, with BaoTa panel for basic management and Nginx for static sites and HTTPS reverse proxy.

The backend runs persistently with PM2, the database is MySQL, email notifications are sent through SMTP, and WeChat login uses WeChat's jscode2session interface to exchange for an openid.

The deployment process is also simply engineered: test and production environments are separated, with one-click bash script deployment.

Final words

The process of building this mini-program took much longer than I initially imagined.

Setting aside the technical side, the product logic had to be repeatedly iterated and revised. Sometimes before going to sleep I'd suddenly think of something to add next, and I'd pull out my phone to write it down. The server needs to be renewed every year, a free test SSL certificate is used, the domain was bought long ago for 10 years, and deployment and other things all had to be done by myself.

The most troublesome part was the review step. Publishing a WeChat mini-program requires: WeChat verification (30 RMB for individuals), mini-program filing (both verification and filing can be done during development), and before launch, binding an SSL certificate to the business domain.

Filing (备案): The mini-program filing kept failing review. Possibly because I didn't describe the project well, causing the reviewer to think it was one of those matchmaking/dating things. After the mini-program filing passed, the official side submitted it to ICP filing, which also passed smoothly the next day.

WeChat verification: Just pay some money and it's done within a few hours.

诉述洞 is still just a start. I'll continue polishing the experience and slowly verify whether it can become a small product worth developing long-term.

If you also have words you want to say but haven't said yet, feel free to check out 诉述洞.

WeChat search: 诉述洞

Mini-program QR code:

wx-code.png

Everyone is welcome to give me feedback and ideas.

coffee

If this helped you, I'd appreciate it if you handsome guys and pretty girls would spend a few yuan on a membership or tip one or two yuan, to chip in a bit of coffee money for me. Thank you.

Buy a membership

My page Growth center
393f8d0a3f9c15a40ad3a60ff00652b6.jpg ae2cd0ae38cbd6150ee7222270f95fe7.jpg

Like the developer

My page Activity center Like the developer
0c9963f28660ae21c89709b4d35c5aed.png 714f3823ad0af119a49004f54c9f2375.png 12ecbba1ed26654127a26ef17a05949f.png

Later I plan to write articles documenting the process of using AI to develop a personal mini-program, as well as some things encountered in production afterward.

Comments

Top 3 of 6 from juejin.cn, machine-translated. The original thread is authoritative.

暴走的菜鸟

Can individual developers publish this kind of mini-program??? I've written a few utility WeChat mini-programs, purely front-end, no backend connected, and they've been rejected several times.

滑动变滚动的蜗牛

It depends on the category. Describe clearly what your project actually is. If it fits, after multiple reviews it can pass [looking]

骑猪走天下

Can individual developers publish this kind of mini-program???

滑动变滚动的蜗牛

It depends on the category. Mine was published as an individual developer.

flyfox 1 likes

I also used AI to make a mini-program: it specializes in curing couple quarrels and family discord [eating melon]

flyfox  → flyfox  · 1 likes

Thanks🙏