## 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
1. Clone the repo
```sh
git clone TODO
```
2. Create a local `.env` file at your project root and fill these variables
```properties
MONGODB_CONNECTION_STRING=
MONGODB_DATABASE_NAME=
PG_USERNAME=
PG_PASSWORD=
PG_HOST=
```
3. Build a local version of the application
```
mvn clean package
```
It will generate your compiled application into target/quarkus-app directory and your Swagger documentation files into the swagger directory.
4. Run tests locally and publish sonar reports
```
mvn verify sonar:sonar
```
## Usage
_For more examples, please refer to the Swagger [Documentation](https://codefirst.iut.uca.fr/swagger?url=/containers/camillepetitalot-cicd-java-backend/swagger/)_