Add 卓米会 mini program and admin server.

Initial commit of the WeChat mini program, Express backend, and admin console.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michelle Zan
2026-09-29 19:01:36 +08:00
co-authored by Cursor
commit cd05113755
67 changed files with 4845 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
const app = require('./app')
const db = require('./lib/db')
const PORT = Number(process.env.PORT) || 3000
db.read()
app.listen(PORT, () => {
console.log(`卓米会服务已启动 http://localhost:${PORT}`)
console.log(`管理后台 http://localhost:${PORT}/admin`)
if (!process.env.WX_APPID || !process.env.WX_SECRET) {
console.log('未配置 WX_APPID / WX_SECRET,小程序登录走演示模式')
}
})