You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6.1 KiB
6.1 KiB
Personal Library Manager API
This API is designed to help you list all your books.
Table of Contents
About The Project
This API helps you to manage your books. You can add new ones, list yours, loan or borrow some others.
Built With
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
- Java (version >= 17)
- Maven (version == 3.8.4)
- MongoDB (version == 7)
- Postgres (version == 14)
- IntelliJ Ultimate Edition to use included tests files
Local Installation
- Clone the repo
git clone TODO
- Create a local
.env
file at your project root and fill these variablesMONGODB_CONNECTION_STRING=<TO_FILL> MONGODB_DATABASE_NAME=<TO_FILL> PG_USERNAME=<TO_FILL> PG_PASSWORD=<TO_FILL> PG_HOST=<TO_FILL>
- Build a local version of the application
It will generate your compiled application into target/quarkus-app directory and your Swagger documentation files into the swagger directory.mvn clean package
- Run tests locally and publish sonar reports
mvn verify sonar:sonar
Usage
For more examples, please refer to the Swagger Documentation