Ignore:
Timestamp:
02/09/26 21:36:40 (5 months ago)
Author:
Andrej <asumanovski@…>
Branches:
master
Children:
8615885
Parents:
140d098
Message:

Made authentication on frontend and backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • backend/src/main/resources/application.properties

    r140d098 r3ebe47c  
    1 spring.application.name=backend
     1spring.application.name=trekr
     2
     3# ============================
     4# JPA & Hibernate
     5# ============================
     6spring.jpa.hibernate.ddl-auto=update
     7spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
     8spring.jpa.show-sql=false
     9spring.jpa.properties.hibernate.format_sql=true
     10spring.jpa.properties.hibernate.default_schema=trekr
     11spring.jpa.properties.hibernate.hbm2ddl.create_namespaces=true
     12
     13# ============================
     14# PostgreSQL connection (loaded from backend/.env or backend/env)
     15# ============================
     16spring.datasource.driver-class-name=org.postgresql.Driver
     17spring.datasource.url=${SPRING_DATASOURCE_URL}
     18spring.datasource.username=${SPRING_DATASOURCE_USERNAME}
     19spring.datasource.password=${SPRING_DATASOURCE_PASSWORD}
     20
     21# ============================
     22# JWT Configuration (supports JWT_SECRET or JWT_CONFIG_SECRET)
     23# ============================
     24jwt.secret=${JWT_SECRET:${JWT_CONFIG_SECRET:dev-fallback-secret-min-32-chars-required}}
     25
     26# ============================
     27# Logging
     28# ============================
     29logging.level.org.springframework.security=DEBUG
     30
     31# ============================
     32# HikariCP
     33# ============================
     34spring.datasource.hikari.pool-name=trekrHikariPool
     35spring.datasource.hikari.maximum-pool-size=20
     36spring.datasource.hikari.minimum-idle=5
     37spring.datasource.hikari.connection-timeout=30000
     38spring.datasource.hikari.idle-timeout=600000
     39spring.datasource.hikari.max-lifetime=1800000
     40
     41# Max multipart parts
     42server.tomcat.max-part-count=50
Note: See TracChangeset for help on using the changeset viewer.