IonShop – Ionic 6 Angular Capacitor Full App + Admin Portal for e-commerce based apps
IonShop Overview & Cross-Platform Commerce Foundation
IonShop is an Ionic 6, Angular 13, and Capacitor 3 e-commerce application template paired with a Node.js backend and web-based admin portal, engineered for store owners and mobile developers to launch retail apps on Android, iOS, and the web. The package removes the structural cost of assembling a fragmented commerce stack by pre-wiring catalog browsing, cart validation, zone-based shipping calculation, Stripe checkout, and order fulfillment into one deployable pipeline. Within production delivery workflows, the codebase functions as a self-hosted starting point: teams apply branding through Sass variables, configure payment and notification credentials in the admin config module, then compile native builds or serve the identical source as an installable, SEO-friendly PWA.
Technical Specifications & Deployment Matrix
| Engineering Metric | Deployment Specification |
|---|---|
| Base Framework | Mobile app on Ionic 6 with Angular 13; native runtime on Capacitor 3 |
| Runtime / Languages | TypeScript/JavaScript, HTML5, CSS3, Sass/SCSS |
| Backend Stack | Node.js, Express, MongoDB, Parse Server 5.0.0 |
| Admin Portal | Angular 13, TailwindCSS, Angular Material |
| Data Exchange | Parse SDK JS 3.4 over REST/JSON; Stripe SDK for card payments; FCM and OneSignal push channels |
| Hosting Targets | Docker, Heroku, DigitalOcean App Platform, DigitalOcean Spaces |
Commerce Execution Pipeline & Core Capabilities
The architecture routes every transaction through a Parse Server API layer backed by MongoDB, while Angular services on the client maintain synchronized state across catalog, cart, wishlist, and checkout screens. Authentication opens the pipeline: customers sign in through email credentials, password recovery flows, or social providers including Google, Facebook, and Apple Sign In, with social login toggleable from the admin portal. Once authenticated—or operating in guest mode when guest checkout is enabled—requests for categories, subcategories, and brands resolve against the server, and item imagery renders through lazy-loading routines that defer off-screen network payloads until scroll position demands them.
Cart mutations are validated server-side before checkout begins. Coupon logic executes against configurable constraints, shipping fees calculate from the selected zone and subzone, and payment then branches into a Stripe card charge or a cash-on-delivery record, with zero-decimal currencies supported on the Stripe path. After an order is placed, the admin portal drives fulfillment: operators update order status, attach tracking numbers and carriers when an order ships, record cancellation reasons when an order is voided, and issue refunds through the Stripe refund API. Each status transition can trigger a distinct email template and a distinct push message, so customer communication is decoupled per fulfillment stage rather than hardcoded. For back-office teams that also need standalone financial tooling outside this stack, Kanakku exists as an independent invoice and accounting dashboard template covering HTML, React, Vue, Angular, and Laravel builds.
Architectural & Functional Highlights
- Dual-runtime delivery (Capacitor 3 + PWA): One Angular codebase compiles to native Android and iOS binaries through Capacitor 3 while simultaneously serving as a multi-language progressive web app, with an Android back-button-press handler that closes the app on a double press.
- Server-validated coupon engine: Discount rules enforce minimum and maximum order amounts, date windows, global and per-customer usage limits, free shipping, and eligibility restrictions by customer type, product, brand, category, and subcategory—reducing client-side manipulation risk.
- Stripe integration with refund symmetry: Card charges execute through the updated Stripe SDK, zero-decimal currencies are configurable, and the admin-side refund API reverses transactions without leaving the portal.
- Per-status notification orchestration: Push dispatch runs through FCM or OneSignal and can target a single customer, a linked brand, or a category, while email alerts use status-specific templates defined in the config module.
- Media and catalog tooling: A PhotoSwipe gallery view renders item pictures, an App Layout Editor controls the storefront arrangement, and slider images can deep-link to brands, categories, or subcategories.
Production Implementation & Operational Resilience
Deployment of the backend requires a Node.js runtime with a MongoDB instance; the repository ships an optimized Dockerfile and documented configurations for Heroku and the DigitalOcean App Platform, with DigitalOcean Spaces available as the object-storage target for media assets. A background worker handles cart expiration, periodically purging abandoned carts so the database does not accumulate stale guest sessions, and order logs record state transitions for auditability.
Error handling was hardened in version 4.0.2 through improved exception paths on both the API and the client, and lazy-loaded images were reworked to reduce initial payload weight on the home screen. Teams upgrading from older releases must account for the Capacitor 3 migration flagged as a breaking change in 4.0.0, alongside the replacement of ion-slides with Swiper directly. Secondary development stays within clearly bounded extension points: Sass variables control theming, the config module exposes Stripe keys, contact details, and notification settings, and the coupon, zone, and CMS page modules are discrete units for adding storefront behavior. Because this is a self-hosted source package rather than a hosted service, operators own server provisioning, database backups, and runtime monitoring. For agencies that separately maintain dashboards for other client systems, Sofbox Admin remains a parallel option as a Vue, Laravel, Angular, React, and HTML admin theme for unrelated back-office builds.
Frequently Asked Questions
Are both the mobile app and the admin portal source files included in the deliverable?
Yes, the package contains the mobile application source code, the admin portal source code, and documentation, so teams can compile the Capacitor app and the Angular, TailwindCSS, and Angular Material back office independently from one repository.
Can the backend run on containerized or managed hosting platforms?
Yes, the API ships an optimized Dockerfile plus documented support for Heroku and the DigitalOcean App Platform, with DigitalOcean Spaces for asset storage, so the Node.js, Express, and MongoDB stack deploys without bare-metal server configuration.
Does the coupon module enforce usage and eligibility restrictions?
Yes, coupons support minimum and maximum order amounts, date boundaries, global and per-customer usage limits, free shipping, and restrictions by customer type, products, brands, categories, and subcategories.
Is push notification delivery limited to a single provider?
No, the application supports both Firebase Cloud Messaging and OneSignal, and the admin portal can dispatch notifications to a specific customer or link a message to a brand, category, or subcategory for targeted delivery.