An open API service indexing awesome lists of open source software.

https://github.com/maxsans/l-agence-desktop

Designed to manage functionalities related to real estate management
https://github.com/maxsans/l-agence-desktop

Last synced: 9 days ago
JSON representation

Designed to manage functionalities related to real estate management

Awesome Lists containing this project

README

          

# ![logo_Agence](src/main/resources/images/logo_Agence_32x32.png) L'agence - Desktop

This repository contains the source code for the **L'agence** desktop application. The application is designed to manage accommodation requests, user authentication, and various other functionalities related to real estate management.

## Screenshots

### Login Page
![Login Page](src/main/resources/images/LoginScreen.png)

### Home Page
![Home Page](src/main/resources/images/HomeScreen.png)

## Technologies

- **JavaFX**: For building the user interface.
- **HttpClient**: For making HTTP requests.
- **Jackson**: For JSON processing.
- **Maven**: For project management and dependency management.

## Requirements

- **Java 11** or higher.
- **Maven**: For building the project.

## Installation

Clone the repository:

```bash
git clone https://github.com/JAWS-tm/L-agence.git
cd L-agence
```

Install the dependencies:

```bash
mvn install
```

## Usage

Run the application:

```bash
mvn javafx:run
```

## Backend API

The desktop application communicates with a backend API. The backend repository can be found [here](https://github.com/JAWS-tm/L-agence).

### API Endpoints

- **Login**: `/auth/login`
- **Logout**: `/auth/logout`
- **Get Accommodation Requests**: `/accommodation/requests`
- **Get User Details**: `/user/details`

## Deployment

### Local Deployment

To run the application locally, use the following command:

```bash
mvn javafx:run
```

### Server Deployment

For server deployment, ensure you have the backend API running and accessible. Update the `baseUrl` in the `RequestService` class to point to your backend server.

## Related

- [L'agence - Web](https://github.com/JAWS-tm/L-agence)