📁
Journal de bord
  • Introduction
  • Single Page Application
    • Overview
    • Installation
    • Features
    • Design
    • Development
    • Backend integration
  • Backend
    • Overview
    • Installation
    • Configuration
    • Development
    • Data Model
    • API reference
      • Rides
      • Drivers
    • Database management
  • Security
    • Overview
    • OAuth 2.0
    • Authorization Server (Keycloak)
    • Client-side flow
    • OpenID Connect
Powered by GitBook
On this page
  • Configuration
  • Security
  • In-memory database

Was this helpful?

  1. Backend

Development

This page covers the development process of the Journal de bord REST API.

Configuration

spring:
  security:
    oauth2:
      resourceserver:
        jwt:
          issuer-uri: <authorization-server-host>
          jwk-set-uri: <authorization-server-public-keys-endpoint>
  datasource:
    url: jdbc:h2:mem:<name>
    driverClassName: org.h2.Driver
    username: <username>
    password: <password>
  jpa:
    database-platform: org.hibernate.dialect.H2Dialect
  h2:
    console:
      enabled: true

Security

In-memory database

The application uses a H2 in-memory database. You can access using the admin console at the <host>/h2-console endpoint.

PreviousConfigurationNextData Model

Last updated 4 years ago

Was this helpful?

The application can be tested using the application.

Postman
Accessing Keycloak Endpoints Using Postman | BaeldungBaeldung
This tutorial is great to both review the the usage of Postman with the Authorization code flow.
Logo
Authorizing requests | Postman Learning CenterPostman Learning Center
Unsupported browser error on Postman desktop app (master issue) · Issue #7700 · postmanlabs/postman-app-supportGitHub
Logo
Logo