Reward Points Module Integration

Замовник: AI | Опубліковано: 22.10.2025

I have an existing web application built with Next.js, React, and TypeScript, and I need a small module added to implement a Reward Points system for users. The goal is to introduce a simple but extendable Reward Points feature that integrates smoothly with the existing user profiles and transaction flow. Key Requirements: Frontend (Next.js + React + TypeScript): Add a new section in the user dashboard to display current reward points. Show recent reward transactions (points earned/spent). Option for users to redeem points (e.g., convert to discount or other benefits). All UI should match existing styling and components. Backend (API Integration): Integrate with existing REST APIs : Earn points (e.g., on completing an action/purchase). Redeem points. View reward history. Store reward points in the existing database (preferably under user record or a new table/collection). Technical Stack: Frontend: Next.js, React, TypeScript Backend: Existing REST APIs (can be Node.js or Cloudflare Worker-based; will provide details) Database: Azure Table Storage (existing setup; you’ll extend the schema) Deliverables: Working Reward Points module integrated into the app. Clean, modular, and reusable code following TypeScript best practices.