Backend modules from tastefully 8bd93d15: core-libs, core-session, api-gateway, mobile-api, services-auth, services-system, services-counter, services-member, services-log, services-email. solvway-admin-portal from babyboo f64d096ea, solvway-customer-portal from tastefully 8bd93d15. Copied as tracked files only. Literal secrets replaced with environment placeholders: - services-email: SMTP_PASSWORD, MAILGUN_API_KEY, SENDGRID_API_KEY, MAILJET_API_KEY, MAILJET_SECRET_KEY (optional, empty default) - services-system: JUMIO_TOKEN, JUMIO_SECRET (optional) - services-auth: USER_AUTH_API_SECRET (required); commented JWT secret removed - core-libs: JWT_TOKEN default removed (required), XXL_JOB_TOKEN default removed, ipgeolocation key read from IPGEOLOCATION_API_KEY - services-system EkycAppConfig: commented Jumio credentials removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2.9 KiB
Backlog: mobile-api endpoints needed to make preview screens functional
This app wires every screen that has a backing solvway-mobile-api endpoint. The
screens below are display-only previews (marked in-app with a "Preview" banner or a
disabled action) because the mobile gateway does not expose an endpoint for them yet.
Most of the underlying logic already exists in solvway-member-portal / other Java
modules — this is largely a gateway-exposure backlog, not net-new business logic.
Until these exist, the corresponding UI must not fabricate server state.
| Screen / feature | App route | Needed mobile-api endpoint(s) | Notes |
|---|---|---|---|
| Goodie Bag list & claim | /goodie-bag |
GET /api/event/goodieBag (claimable items), POST /api/event/goodieBag/claim |
member-portal has goodieBag / giftWithPurchase. Redeem-at-booth via member QR is already shown. |
| Goodie Bag claim history | /goodie-bag/history |
GET /api/event/goodieBag/history |
|
| Lucky Draw entries & numbers | /draw |
GET /api/event/luckyDraw/entries (tickets, numbers, amount-spent) |
member-portal has luckyDraw. Only the lucky-draw poster image is exposed today (via event/currentEventConfig.currentEventLuckyDraw). |
| Lucky Draw past results | /draw (history sheet) |
GET /api/event/luckyDraw/history |
member-portal has luckyDrawHistory. |
| Store redemption | /store |
POST /api/event/tasteRewards/redeem (+ redeem-code display) |
member-portal has tasteRewards / redeemCode / redeemCodeDisplayQr. Product display is wired via currentEventTasteRewardsProductList. |
| Home gamification ("Complete & Earn") | / |
GET /api/member/tasks + POST /api/member/tasks/{id}/complete |
No equivalent in the member-portal; new capability. |
| Tier / next-tier | / , /store |
GET /api/member/tier (current tier, threshold) |
No tier concept in mobile-api today; progress bars use a placeholder target. |
| Notifications & Privacy settings | /settings |
GET/PUT /api/member/preferences |
Placeholder rows. |
Wired endpoints (for reference)
auth/login, member/registerNewMember, member/findDocumentsForRegistration,
member/otpRequired, member/otpVerification, member/forgetPassword,
member/firstTimePassword, member/changePassword, member/profile,
member/editProfile, member/editProfileInitialize, member/referralLink
(now returns the customer-portal /register?ref= URL), member/referralStats
(returns { joined, earned }; referral reward payout is inert until the
NEW_REGISTER_REFERRAL / NEW_REGISTER reward-point-config rows are seeded),
tastefullyPoint/getBalanceCache, tastefullyPoint/getTodayEarned,
tastefullyPoint/getTransactions, event/currentEventConfig, event/upcomingEvent,
event/checkIn (booth check-in / CI scan — scans a booth QR, records a CheckInBooth;
redeem-code display is still out of scope), geoLocationHierarchy/findFirstLevel,
geoLocationHierarchy/findByParentId.