A family finance management dashboard built with Next.js, TypeScript, Wagmi, Prisma, and Recharts. Parents and children can manage chores, allowances, and view token price charts in real-time.
- Parent Authentication via Ethereum wallet (Wagmi).
- Child Authentication via session token.
- Chore Management: Assign and track chores with due dates.
- Allowance Tracking: View and manage stable balance using ERC-20 contracts.
- Price Charts: Interactive 24-hour price graphs with trend indicators.
- NFT Dashboard: View 7-day volume and last sales in family currency.
- Responsive UI with Tailwind CSS.
- Next.js (App Router)
- React & TypeScript
- Wagmi & Viem for Ethereum interactions
- Prisma ORM with PostgreSQL
- Recharts for data visualization
- Tailwind CSS & Radix UI components
- QR Code login via
html5-qrcode
- Node.js >= 18
- Yarn, npm, or pnpm
- PostgreSQL database
- Ethereum wallet (MetaMask, Coinbase Wallet, etc.)
- Clone the repo:
git clone cd ferfiefam - Install dependencies:
npm install # or yarn - Copy and configure environment variables:
cp .env.example .env # Edit .env with your DATABASE_URL, NEXT_PUBLIC_RPC_URL, COOKIE_SECRET, etc. - Generate Prisma client and run migrations:
npx prisma generate npx prisma migrate deploy
- Run development server:
npm run dev
- Open http://localhost:3000
npm run dev– Start development server.npm run build– Build for production.npm start– Start production server.npm run lint– Run Next.js lint.npm run format– Format code with Prettier.
| Name | Description |
|---|---|
| DATABASE_URL | PostgreSQL connection string |
| NEXT_PUBLIC_RPC_URL | Ethereum JSON-RPC endpoint |
| PUBLIC_RESERVOIR_API_KEY | Nft functionality |
| OPENSEA_API_KEY | Nft functionality |
| NEXT_PUBLIC_ONCHAINKIT_API_KEY | Connect the app to the OnchainKit |
| KMS_KEY_ID | Google Cloud KMS key for secure operations |
| --Check example env for all |
/ferfiefam
├── src
│ ├── components # Shared UI components
│ ├── contexts # React contexts (Auth, Role)
│ ├── lib # Utilities (tokens, utils)
│ ├── pages/app # Next.js App Router files
│ └── server # API & server-side logic
├── prisma # Schema and migrations
├── public # Static assets
└── README.md
Deploy easily on Vercel:
vercel --prodOr see Next.js deployment docs.
- Fork the repo & create a branch.
- Write tests and code.
- Submit a pull request.
MIT © Free for everyone to use :)