WeChat Mini Program (Jun2020)
Why do I started this project?
WeChat is THE most popular app in China, billions of Chinese use it everyday. You also might have read it somewhere that WeChat is a mega app that has everything one needs in a single app.
So I wanted to know how it works. How does WeChat host other “mini-program” in it. So I started out from the official documentation and went from there.
It turns out that each min-program is a tiny piece of website, WeChat is providing the datacenter to host all the websites and gives the users a special browser to use mini-program. The special about the browser is integration. It is highly integrated with WeChat ecosystem:
- Payment system: people can use WeChat pay to purchase goods and services within the browser.
- Account authentication: since none wants to type anything to log in accounts, WeChat provide APIs to let developers to access the WeChat account information, so all users have to do is granting the access to the developer
I eventually built a mini-program that converts temperatures between Fahrenheit and Celsius
User interface