tribu-a-2024-1c / psa-support

PSA SUPPORT ๐ŸŽŸ๏ธ
0 stars 0 forks source link

PSA Support Management API

PSA Support Management API is a RESTful service designed to manage support tickets, client interactions, and resource allocations within the PSA platform. This API is built using Spring Boot and integrates seamlessly with other components of the PSA system to provide a robust and scalable backend solution for support management tasks.

๐ŸŒŸ Features

๐Ÿ› ๏ธ Installation

To set up the PSA Support Management API on your local environment, follow these steps:

  1. Clone the repository:

    git clone https://github.com/tribu-a-2024-1c/psa-support
    cd psa-support
  2. Create a docker network:

    docker network create psa-network
  3. Install dependencies and build the project:

    ./gradlew build
  4. Start the Spring Boot application:

    ./gradlew bootRun

โš™๏ธ Configuration

Configure environment variables in application.properties or via environment variables:

Example application.properties:

spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3307}/${MYSQL_DATABASE:support}
spring.datasource.username=${MYSQL_USER:support}
spring.datasource.password=${MYSQL_PASSWORD:support}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
projects.api.url=${API_PROJECTS_URL:http://localhost:8080}

๐Ÿ“– API Endpoints

Tickets

Example Requests

๐Ÿค Contributors

Contributions are welcome!