This project is a sample JAX-RS application demonstrating a library management system. It includes features for managing authors and books, with support for sorting, filtering, and pagination.
- Java 21 or higher
- Git
-
Clone the repository:
git clone https://github.com/ebpro/cours-java-librarymanager-rest.git cd cours-java-librarymanager-rest -
Compile, package, and run integration tests:
./mvnw clean verify
-
Launch the REST server:
./mvnw exec:java
To get a hello message, run the following command:
curl -s -D - http://localhost:9998/myapp/biblioSee a complete set of sample requests here.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.