Skip to content

Mohamedkout15/BankingDashboard-App-Backend

Repository files navigation

BankingDashboard Backend

Welcome to the BankingDashboard Backend repository! This repository contains the backend code for the BankingDashboard project.

About

BankingDashboard is a web application designed to provide users with a comprehensive dashboard for managing their banking activities. The backend is responsible for handling data storage, processing, and API endpoints to interact with the frontend.

Technologies Used

Getting Started

To get started with the BankingDashboard Backend, follow these steps:

Clone the Repository:

   git clone https://github.com/Mohamedkout15/BankingDashboard-App-Backend

API Endpoints:

Client API Endpoints
The ClientController class provides various endpoints for managing client data in the BankingDashboard application.

Add Client
URL: /client/addclient
Method: POST
Description: Adds a new client to the system.
Request Body: Client object representing the new client to be added.
Response: The newly added client object.

Find Client by ID
URL: /client/findclient/{id}
Method: GET
Description: Retrieves a client by their unique ID.
Path Variable: id - The unique ID of the client.
Response: The client object with the specified ID.

Set Date of Second Visit
URL: /client/setdatedxvisite/{id}
Method: POST
Description: Sets the date of the second visit for a client.
Path Variable: id - The unique ID of the client.
Request Parameter: date - The date of the second visit (format: yyyy-MM-dd).
Response: The updated client object.

Set Date of First Visit
URL: /client/setdateprvisite/{id}
Method: POST
Description: Sets the date of the first visit for a client.
Path Variable: id - The unique ID of the client.
Request Parameter: date - The date of the first visit (format: yyyy-MM-dd).
Response: The updated client object.

Set Values of First Visit
URL: /client/setvalprv/{id}
Method: POST
Description: Sets the values of the first visit for a client.
Path Variable: id - The unique ID of the client.
Request Body: List of numbers representing the values of the first visit.
Response: The updated client object.

Set Values of Second Visit
URL: /client/setvaldxv/{id}
Method: POST
Description: Sets the values of the second visit for a client.
Path Variable: id - The unique ID of the client.
Request Body: List of numbers representing the values of the second visit.
Response: The updated client object.

Set Values of Promise Client
URL: /client/setvalprc/{id}
Method: POST
Description: Sets the values of the promise client for a client.
Path Variable: id - The unique ID of the client.
Request Body: List of numbers representing the values of the promise client.
Response: The updated client object.

Project Structure

The project structure is organized as follows:

/BankingDashboard Project/BankingDashboard-App-Backend
├── compose.yaml
├── HELP.md
├── mvnw
├── mvnw.cmd
├── pom.xml
├── src
│   └── main
│       ├── java
│       │   └── zz
│       │       └── sk
│       │           └── bankingdashboard
│       │               ├── Aspects
│       │               ├── BankingDashboardApplication.java
│       │               ├── Configuration
│       │               │   ├── AppConfig.java
│       │               │   ├── CorsConfig.java
│       │               │   ├── SwaggerConfig.java
│       │               │   └── WebSecurityConfig.java
│       │               ├── Controllers
│       │               │   ├── Client
│       │               │   │   └── ClientController.java
│       │               │   └── UserRegistrationController.java
│       │               ├── Entities
│       │               │   ├── Adresse.java
│       │               │   ├── Client.java
│       │               │   ├── DeuxiemeVisite.java
│       │               │   ├── PremiereVisite.java
│       │               │   ├── PromesseClient.java
│       │               │   ├── Role.java
│       │               │   └── User.java
│       │               ├── Repositories
│       │               │   ├── AdresseRepository.java
│       │               │   ├── ClientRepository.java
│       │               │   ├── DeuxiemeVisiteRepository.java
│       │               │   ├── PremiereVisiteRepository.java
│       │               │   ├── PromesseRepository.java
│       │               │   └── UserRepository.java
│       │               └── Services
│       │                   └── Client
│       │                       ├── InterfaceClientServiceImp.java
│       │                       └── InterfaceClientService.java
│       └── resources
│           ├── application.properties
│           ├── static
│           └── templates
└── target
    ├── classes
    │   ├── application.properties
    │   └── zz
    │       └── sk
    │           └── bankingdashboard
    │               ├── BankingDashboardApplication.class
    │               ├── Configuration
    │               │   ├── AppConfig.class
    │               │   ├── CorsConfig$1.class
    │               │   ├── CorsConfig.class
    │               │   ├── SwaggerConfig.class
    │               │   └── WebSecurityConfig.class
    │               ├── Controllers
    │               │   ├── Client
    │               │   │   └── ClientController.class
    │               │   └── UserRegistrationController.class
    │               ├── Entities
    │               │   ├── Adresse.class
    │               │   ├── Client.class
    │               │   ├── DeuxiemeVisite.class
    │               │   ├── PremiereVisite.class
    │               │   ├── PromesseClient.class
    │               │   ├── Role.class
    │               │   └── User.class
    │               ├── Repositories
    │               │   ├── AdresseRepository.class
    │               │   ├── ClientRepository.class
    │               │   ├── DeuxiemeVisiteRepository.class
    │               │   ├── PremiereVisiteRepository.class
    │               │   ├── PromesseRepository.class
    │               │   └── UserRepository.class
    │               └── Services
    │                   └── Client
    │                       ├── InterfaceClientService.class
    │                       └── InterfaceClientServiceImp.

Authors

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published