Skip to content

ShareBookCode/Back

This branch is 158 commits ahead of EnKarin/BookCrossingServer:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 29, 2025
Mar 19, 2023
Feb 18, 2025
Mar 30, 2025
Feb 2, 2025
Nov 28, 2021
Mar 19, 2023
May 19, 2023
Jun 23, 2022
Jan 31, 2025
Mar 19, 2023
Jan 30, 2025
Jan 30, 2025
Jul 4, 2022
Mar 19, 2023
Mar 19, 2023
Mar 30, 2025

Repository files navigation

BookCrossing Server

BookCrossing is the implementation of a simple service for the exchange of paper books.

Java CI GitHub

Requirements

  1. Java 17 and above
  2. Maven
  3. PostgreSQL

The service provides the following functions:

  • User registration/authorization
  • List of users
  • Updating profile data
  • Adding/removing a book description
  • List of books
  • Basic messenger
  • Bookmarks
  • Administrative functions for blocking/unblocking users

Building

git clone https://github.com/EnKarin/BookCrossingServer.git
cd BookCrossingServer
./mvnw clean package

Build Docker image

With arm64 support
./mvnw clean package docker:build -DskipTests
Without arm64 support
./mvnw spring-boot:build-image -DskipTests

Running locally

Run PostgreSQL database only

docker-compose --project-name="pg-bookscrossing" up -d
Stop
docker-compose --project-name="pg-bookscrossing" down

Run application in Docker

docker-compose --file docker-compose-full.yml --project-name="bookscrossing-full" up -d
Stop
docker-compose --project-name="bookscrossing-full" down

Documentation

Swagger UI interactive documentation for localhost

Issue Tracking

Found a bug? Have an idea for an improvement? Feel free to file an issue.

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%