Chiltan Marketing: campaigns for Shopify stores.
Email, SMS and push campaigns, sent now or on a schedule. I built the parts that let one app serve many stores: tenants, role groups, the access tree and each store's own settings.
Overview
One app, many stores.
A store builds an email in a drag-and-drop editor, picks who gets it, and sends it by email, SMS or push. The app also messages shoppers who left a Shopify checkout, and tracks opens and clicks.
Each store needs its own staff roles, its own mail settings and only its own data. That was my part.
My work
Access, tenants and store settings.
Role groups
Bundle roles into groups and give a group to a user. Backend and Angular screens.
Access tree
App modules and the entities inside them, so access can be set per screen.
Tenant management
Create and manage tenants, one per store owner.
Tenant-scoped reads
Lists and records come back for the signed-in tenant only.
Role checks
Routes and menus in the Angular app follow the user's roles.
SMTP and store settings
Add, edit and remove each store's mail server and store config.
Brands on campaigns
Store configs became brands, and each campaign picks its brand from a list.
Screens
What those parts look like.
Not mine: the email editor, the campaign and cart jobs, and the reports. The main author wrote most of the code.
Stack
- Spring Boot 3.0
- Spring Security
- JWT
- Spring Data JPA
- MapStruct
- Lombok
- MariaDB
- Angular 14
- TypeScript
- Shopify API
- Firebase Cloud Messaging