All projects

Book sharing

BookVerse

A social library. Members share their shelves, borrow each other's books, and return them once the owner approves.

  • Spring Boot
  • Angular
  • PostgreSQL
  • Spring Security
  • JWT
Project
Solo project
Contribution
Backend and Angular interface
Availability
Prototype. No public demo.

Overview

BookVerse is a social library. Members mark the books they are willing to lend, and other members borrow them. Once a book is out it leaves the owner's collection and stays out until the owner approves the return. Signing up sends an activation email, and nothing on the site works until that link is opened.

Architecture

The Angular app talks to a Spring Boot REST API. The API issues its own JWTs, and Spring Security checks one on every request. JPA maps the entities to PostgreSQL. Docker Compose brings up the database and MailDev, which catches the activation emails while you develop.

BookVerse application flow
Angular Web interface Spring Boot REST API Spring Security + JWT PostgreSQL Data storage share / borrow / return

What it does

Accounts with email activation

Registration sends a link. The account cannot sign in until it is opened.

Lending and borrowing

A member marks a book as shared, and it shows up in the collection other members can borrow from.

Returns need approval

The reader marks the book as returned, and the owner approves before it becomes available again.

Feedback on shared books

Members can leave feedback on books that have been shared.

Source code