Frontend application for the RemitWise remittance and financial planning platform.
This is a Next.js-based frontend skeleton that provides the UI structure for all RemitWise features. The application is built with:
- Next.js 14 - React framework with App Router
- TypeScript - Type safety
- Tailwind CSS - Utility-first styling
- Lucide React - Icon library
The frontend includes placeholder pages and components for:
- Dashboard - Overview of remittances, savings, bills, and insurance
- Send Money - Remittance sending interface with automatic split preview
- Smart Money Split - Configuration for automatic allocation
- Savings Goals - Goal-based savings tracking and management
- Bill Payments - Bill tracking, scheduling, and payment
- Micro-Insurance - Policy management and premium payments
- Family Wallets - Family member management with roles and spending limits
- Node.js 18+
- npm or yarn
# Install dependencies
npm install
# Run development server
npm run devOpen http://localhost:3000 in your browser.
# Build for production
npm run build
# Start production server
npm startremitwise-frontend/
├── app/
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ ├── globals.css # Global styles
│ ├── dashboard/ # Dashboard page
│ ├── send/ # Send money page
│ ├── split/ # Money split configuration
│ ├── goals/ # Savings goals
│ ├── bills/ # Bill payments
│ ├── insurance/ # Insurance policies
│ └── family/ # Family wallets
├── components/ # Reusable components (to be added)
├── public/ # Static assets
└── package.json
-
Wallet Connection
- Integrate Freighter wallet or similar
- Connect to Stellar network (testnet/mainnet)
- Handle account authentication
-
Smart Contract Integration
- Connect to deployed Soroban contracts
- Implement contract function calls
- Handle transaction signing and submission
-
Anchor Platform Integration
- Integrate with anchor platform APIs for fiat on/off-ramps
- Handle deposit/withdrawal flows
- Process exchange rate quotes
-
Transaction Tracking
- Display on-chain transaction history
- Show transaction status and confirmations
- Implement real-time updates
- Send Money Page: Connect to Stellar SDK for transaction creation and signing
- Split Configuration: Call
remittance_splitcontract to initialize/update split - Savings Goals: Integrate with
savings_goalscontract for goal management - Bills: Connect to
bill_paymentscontract for bill tracking - Insurance: Integrate with
insurancecontract for policy management - Family Wallets: Connect to
family_walletcontract for member management
- All forms are currently disabled (placeholders)
- UI uses a blue/indigo color scheme
- Responsive design with mobile-first approach
- Components are structured for easy integration
- Real-time transaction updates
- Push notifications for bill reminders
- Charts and graphs for financial insights
- Multi-language support
- Dark mode
- Mobile app (React Native)
MIT