論より証拠ということで、Antigravityで作成したプログラムをGithubに公開した。
プログラムを自分で書いたり、テストデータを作成したりは一切していない。Agentへの指示のみでここまで出来た。
Novel Search System
A full-stack web application for managing and searching novels, built with modern technologies including Spring Boot and React.
Overview
This project is a comprehensive system designed to handle novel data, authors, and user authentication. It features a robust backend API and a responsive, internationalized frontend interface.
Tech Stack
Backend
- Java: 25
- Framework: Spring Boot 4
- Database: MariaDB
- Security: Spring Security
- Tools: Maven, Lombok
Frontend
- Framework: React 19 (Vite)
- UI Library: Material UI (MUI) v7
- State Management: TanStack Query (React Query) v5
- Routing: React Router
- Forms: React Hook Form + Zod
- Internationalization: i18next
- HTTP Client: Axios
Features
- User Authentication: Secure login and registration system.
- Novel Management: Create, read, update, and delete novels.
- Author Management: Manage author profiles and link them to novels.
- Internationalization (i18n): Full support for English and Japanese languages.
- Responsive Design: Modern UI adapted for various screen sizes.
Getting Started
Prerequisites
- Java JDK 25
- Node.js (Latest LTS recommended)
- MariaDB Server
Backend Setup
- Navigate to the backend directory: cd backend
- Configure the database connection in
src/main/resources/application.propertiesif necessary (defaults to localhost:3306). - Build and run the application: ./mvnw spring-boot:run The backend server will start on
http://localhost:8080.
Frontend Setup
- Navigate to the frontend directory: cd frontend
- Install dependencies: npm install
- Start the development server: npm run dev The frontend application will be accessible at
http://localhost:5173.
Logging
The application is configured to output logs to the logs/ directory:
app.log: General application logs.error.log: Error-level logs.debug.log: Debug-level logs for the application package.sql.log: SQL statements and Hibernate logs.