惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
L
LangChain Blog
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
博客园 - 聂微东
V
Visual Studio Blog
博客园_首页
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
F
Fortinet All Blogs
C
Check Point Blog
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Accounting Made Simple: AI-Powered Financial Insights of ...
Masaya Hori · 2026-05-23 · via DEV Community

Masaya Hori

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 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

Accounting Made Simple

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

Enter fullscreen mode Exit fullscreen mode

2. Install dependencies

npm install

Enter fullscreen mode Exit fullscreen mode

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.