How seasonstar/bibi-ionic works
bibi-ionic is a Chinese-language Ionic shopping and social-commerce mobile app paired with the bibi server and a separate WeChat frontend. Users browse banners, categories, products and community posts; manage accounts, carts and orders; and proceed through checkout. The sampled controllers show product, board and order API access, while the README documents native mobile capabilities. Several feature implementations and runtime integrations were not sampled, so uncertain connections are omitted or marked optional.
Main entry points: controllers.js Screen controllers · core.js Platform core · app.js App and routing · storage.js Analytics storage
Components 23
Mobile app
- App and routing
www/js/app.js - Screen controllers
www/js/controllers.js - Screen templates
www/js/templates.js - App services
www/js/services.js
Shopping and orders
- Catalog and boards
www/js/controllers.js - Cart and checkout
www/js/controllers.js - Orders and coupons
www/js/controllers.js - Account and auth
www/js/controllers.js
Community and media
- Photogram community
www/js/photogram.js - Photo capture
www/js/photo.js - Geolocation
www/js/geo.js
Ionic platform services
- Platform core
www/lib/ionic-platform-web-client/src/core/core.js - Core events
www/lib/ionic-platform-web-client/src/core/events.js - Core logger
www/lib/ionic-platform-web-client/src/core/logger.js - Core storage
www/lib/ionic-platform-web-client/src/core/storage.js - Deferred promises
www/lib/ionic-platform-web-client/src/core/promise.js - Platform settings
www/lib/ionic-platform-web-client/src/core/settings.js - Analytics storage
www/lib/ionic-platform-web-client/src/analytics/storage.js - Over-the-air deploy
www/lib/ionic-platform-web-client/src/deploy/deploy.js - Push messaging
www/lib/ionic-platform-web-client/src/push/push.js
Other components
- Shopper
- Bibi server
- Cordova plugins
Connections 22
- Shopper → App and routing: opens
www/js/app.js - App and routing → Screen controllers: routes to
www/js/app.js - App and routing → App services: restores cart
www/js/app.js - Screen controllers → Screen templates: renders
- Screen controllers → App services: calls
www/js/controllers.js - Catalog and boards → Bibi server: requests catalog
www/js/controllers.js - Cart and checkout → Bibi server: requests cart
- Orders and coupons → Bibi server: requests orders
www/js/controllers.js - Account and auth → Bibi server: requests account
- Screen controllers → Photogram community: posts content
www/js/controllers.js - Screen controllers → Photo capture: opens camera
www/js/controllers.js - Screen controllers → Geolocation: uses location
- App and routing → Platform core: loads core
www/js/app.js - Platform core → Core events: creates emitter
www/lib/ionic-platform-web-client/src/core/core.js - Platform core → Core storage: creates storage
www/lib/ionic-platform-web-client/src/core/core.js - Platform core → Core logger: creates logger
www/lib/ionic-platform-web-client/src/core/core.js - Core storage → Deferred promises: uses deferred
www/lib/ionic-platform-web-client/src/core/storage.js - Analytics storage → Platform settings: scopes keys
www/lib/ionic-platform-web-client/src/analytics/storage.js - Analytics storage → Platform core: gets storage
www/lib/ionic-platform-web-client/src/analytics/storage.js - Platform core → Cordova plugins: waits for plugins
www/lib/ionic-platform-web-client/src/core/core.js - Over-the-air deploy → Bibi server: syncs updates
- Push messaging → Cordova plugins: uses push plugin