DEV Community

Masaya Hori
Masaya Hori

Posted on • Edited on

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

Gemma 4 Challenge: Build With Gemma 4 Submission

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 financial data. It combines financial data sources (EDINET, J-Quants and Finnhub) 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
  • 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

Accounting Made Simple

A modern and simple web app for searching organisations, reviewing equity and filing data, and generating AI-powered financial insights. It combines J-Quants company search for Japanese companies, EDINET/Finnhub financial filings, and Gemini-powered analysis to help you explore financial health and accounting equation context.

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, J-Quants, and Finnhub financial data sources
  • Gemini / Google GenAI-powered financial analysis and insights
  • Zod / Prisma Zod generator for typed schema validation
  • Recharts for simple financial charts

Features

  • Search Japanese organisations and equity data from J-Quants
  • Optional language selector for search and AI analysis results
  • Company detail pages showing EDINET/Finnhub financial filings, charts, and accounting summaries
  • AI-generated financial analysis from Gemini / Google GenAI
  • Responsive, utility-first UI with custom components

Getting Started

1. Clone the

How I Used Gemma 4

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

  • 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/financial data fetched from EDINET/J-Quants/Finnhub, 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.

Top comments (0)