Personal project · Web application
Obsidian Library
A library. A whole product behind it.
I built Obsidian to connect both sides of a library. Readers discover books, manage loans and reservations, and maintain their memberships. The admin panel supports catalog management, loans, fines and subscriptions. A complete application built with Next.js and Spring Boot, published as a live demo.
- My contribution
- Complete development: reader interface, admin panel, API, data and payments.
- Status
- Project completed · Live demo
- Year
- 2026
The starting point
What happens between a click and a confirmation.
A book can be on loan, reserved or available. A payment can still be pending when the reader returns from Stripe. The challenge is to coordinate those states and communicate them while the server enforces availability, membership and payment rules.
A journey through the system
A confirmed payment takes more than a screen.
- 01
The reader requests
Selects a membership or an outstanding fine.
- 02
Stripe processes
The server prepares checkout with a validated amount.
- 03
The backend confirms
Verifies the event and records the result once.
- 04
The interface responds
Checks the confirmed status and updates the experience.
Diagram of the implemented flow. Returning from Stripe alone does not activate a membership: the server must confirm payment.
Decisions that shape the product
Two roles, one library
Readers have a catalog, loans, reservations, wishlists and reviews. The admin panel brings together books, genres, users, operations, fines and membership plans. Each experience offers actions based on account permissions and shares the rules enforced by the backend.
Confirm before activating
The payment screen checks the backend status and displays the confirmation wait. The server verifies Stripe signatures, recognizes repeated deliveries and prevents a late failure event from reversing a successful payment.
A queue that respects availability
Reservations advance in request order as copies become available. Readers have 48 hours to collect a book. Once that window expires, the system can advance the next reservation.
Coordinated sessions and network
Next.js acts as a BFF between the browser and Spring Boot. Authentication combines HTTP-only cookies, CSRF protection and refresh-token rotation, while the client coordinates concurrent session renewals. The proxy also handles backend cold starts through health checks without automatically retrying state-changing operations.
Rules close to the data
Loans validate membership limits and availability. Critical operations use transactions and locks. Flyway tracks schema changes, while PostgreSQL adds integrity constraints.
Implementation and verification
92
automated tests across frontend and backend
48 h
reservation pickup window
CI
automated validation with GitHub Actions
Documented suite: 67 backend tests, 18 frontend unit tests and 7 Playwright browser flows. The authenticated Playwright flows use a mocked API to check the interface and its interactions.
Technologies
- Next.js
- TypeScript
- Java
- Spring Boot
- PostgreSQL
- Stripe
Current scope
Completed personal project published as a cloud demo. It includes reader and admin interfaces, with a catalog, loan and reservation operations, fines, plans, subscriptions and refunds. Both frontend and backend include automated tests, CI and independent deployments.
A clear interface also needs to represent waiting, expiration and operations that require confirmation.
Next project
SelváticaLet’s build something together.
Get in touch