cd /news/artificial-intelligence/accounting-made-simple-ai-powered-fi… · home topics artificial-intelligence article
[ARTICLE · art-10868] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Accounting Made Simple: AI-Powered Financial Insights of Japanese Companies with Gemma 4

The article describes "Accounting Made Simple," a web application that uses Google's Gemma 4 AI model to analyze Japanese financial data from EDINET and J-Quants. The app helps users track organizations and evaluate the core accounting equation (Assets = Liabilities + Owner's Equity) by providing AI-powered insights into a company's financial health and potential red flags. It is built with a modern tech stack including Node.js, Prisma, and the Google GenAI SDK.

read2 min views15 publishedMay 23, 2026

This is a submission for the Gemma 4 Challenge: Build with Gemma 4

What I Built #

Accounting Made Simple is a modern and very simple, work in progress, financial web app that helps users track organisations and evaluate the core accounting equation: Assets = Liabilities + Owner's Equity. It combines Japanese financial data sources (EDINET and J-Quants) with Gemini-powered AI analysis to give users quick insights into a company’s financial health, trends, and potential red flags.

Key capabilities:

  • Organisation search and equity data lookup (currently targetting Japanese companies only)
  • Persistent organisation/accounting equation storage with Prisma + PostgreSQL
  • Magic-link authentication via Better Auth and Resend email
  • Financial analysis generated by Gemma 4 from real balance sheet data
  • Responsive UI built with Next.js 16, React 19, Tailwind CSS, and shadcn-inspired components

Demo #

Code #

A modern and simple web app for managing organisations and tracking the core accounting equation: Assets = Liabilities + Owner's Equity.

Built with:

  • Next.js 16 + React 19
  • Tailwind CSS v4 and shadcn/ui-inspired components
  • Prisma 7 + PostgreSQL
  • Better Auth with magic link login and Resend email delivery
  • EDINET and J-Quants financial data sources for Japanese companies
  • Gemini-powered financial analysis and insights
  • Zod / Prisma Zod generator for typed schema validation
  • Recharts for simple financial charts

Features #

  • Search organisations and equity data from EDINET/J-Quants
  • Gemini-based analysis for selected financial data
  • Store organisations, accounting equations, and user sessions in PostgreSQL
  • Email-based magic link authentication via Resend
  • Responsive, utility-first UI with custom components
  • Prisma-generated types and database access layer

Getting Started #

1. Clone the repository

git clone https://github.com/your-repo/accounting-made-simple.git
cd accounting-made-simple

2. Install dependencies

npm install

The repo runs prisma generate

after install via postinstall

.

3. Create .env

…##

How I Used Gemma 4

I used Gemma 4 via the Google GenAI SDK to power the financial analysis experience in GeminiFinancialAnalysis.tsx.

  • Model used: gemma-4-31b-it
  • Reason: I chose the 31B Dense variant because it provides strong instruction-following and financial reasoning for structured company balance sheet data, while still being efficient enough for a production-style analysis flow.
  • Role in the app: Gemma 4 reads balance sheet data fetched from EDINET/J-Quants, then generates plain-language insights about company health, trends, and risk signals that are rendered directly in the UI.
  • This makes the app more than an accounting tracker — it becomes a finance assistant that helps users understand what the numbers mean.
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @gemma 4 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/accounting-made-simp…] indexed:0 read:2min 2026-05-23 ·