How guanlili/samespace works
Project type and purpose
• This is a WeChat Mini-Program (“依氧空间”) whose sole codebase is the front-end (app.js, app.json, pages/*.wxml|.wxss|.js|.json).
• Its purpose is to help young people find compatible roommates and rentals: users set personal habits/interests, filter listings, contact roommates, view third-party listings, rate roommates, and participate in social activities.
File structure
• Top-level files:
• app.js / app.json / app.wxss – global app configuration and styling
• pages/ – five major tabs (home, publish, welfare, communication, my) each with .js (logic), .wxml (markup), .wxss (styles), .json (route config)
• project.config.json, sitemap.json – WeChat IDE and routing config
• No back-end code present here – it relies on remote services (e.g., your own API server or WeChat Cloud Functions plus third-party real estate providers).
README for additional insights
• Five main feature areas:
1. Home (browse and filter listings + roommate tags)
2. Publish (post housing or roommate requests across four sub-flows)
3. Welfare (events + secondhand market)
4. Communication (IM, system messages, groups, discussion posts)
5. My (user profile, auth, settings, orders, favorites, evaluations, customer service)
• Integrates third-party real-estate data (链家, 自如).
• Requires real-name authentication, rating, review systems.
Elements
• Labels: “Mini-Program Client”, “API Gateway”, “User Service”, etc.
• Blue rectangles for front-end components (pages/modules)
• Green rectangles for back-end services
• Red clouds for external services (real-estate APIs, WeChat IM)