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
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 |
|---|---|---|
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
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:
- Vue 3 + TypeScript
- Pinia state management
- Wot Design Uni component library
- Alova request library
- UnoCSS
- Vite
- openapi-ts-request for generating API types
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:
- Post requests toward specific people, supporting two-way matching
- WeChat mini-program silent login; email registration is also supported
- Daily check-ins earn 「诉果」(Request Fruit), used to publish and edit requests
- Lv.1 to Lv.4 growth identity system
- Desensitized 「回响」(Echo) display and like interactions after successful matches
- Email notification on successful matches
- In-app, email, and WeChat mini-program subscription message notifications
- Feedback and personal profile management
- Invitation cards and invitation rewards
- Android in-mini-program purchase of growth benefit items (via personal virtual payment)
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:
- NestJS 11 + Express
- TypeScript
- TypeORM + MySQL
- JWT login authentication
- Nodemailer email service
- WeChat login and WeChat personal virtual payment
- Jest + Supertest testing
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
The admin dashboard is developed with Vue 3 + Vite, mainly for managing users, requests, points, and growth identity records myself.
Main tech stack:
- Vue 3 + TypeScript
- Vite
- Element Plus
- Pinia
- UnoCSS
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:
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 |
|---|---|
Like the developer
| My page | Activity center | Like the developer |
|---|---|---|
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.
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.
I also used AI to make a mini-program: it specializes in curing couple quarrels and family discord [eating melon]
Thanks🙏