Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfarci/journal-de-bord-rest-api
API of the Journal de bord porject.
https://github.com/lfarci/journal-de-bord-rest-api
hibernate java maven oauth2 openid-connect rest-api spring spring-boot
Last synced: 1 day ago
JSON representation
API of the Journal de bord porject.
- Host: GitHub
- URL: https://github.com/lfarci/journal-de-bord-rest-api
- Owner: lfarci
- Created: 2020-07-17T18:04:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T01:11:32.000Z (about 2 years ago)
- Last Synced: 2023-04-26T22:33:07.372Z (over 1 year ago)
- Topics: hibernate, java, maven, oauth2, openid-connect, rest-api, spring, spring-boot
- Language: Java
- Homepage: https://journal-de-bord.netlify.app/
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Journal de Bord RESTful API
This is a RESTful API implemented using Spring Boot. The API is used by the [Journal de bord web application](https://github.com/Lofaloa/journal-de-bord-spa).
The documentation can be found at this [location](https://farci-logan.gitbook.io/journal-de-bord/backend/overview).## Prerequisites
Before starting developing, you should install: Maven and the Java SE 11 Open JDK. If you are working on Ubuntu, you can
install them as follows:```bash
> sudo apt install openjdk-11-jdk
> sudo apt install maven
```## Configuration
Here is a minimal configuration file. It is the content of the `src/main/resources/application.yml` file.
```yaml
spring:
security:
oauth2:
resourceserver:
jwt:
issuer-uri:
jwk-set-uri: /protocol/openid-connect/certs
datasource:
url:
driverClassName:
username:
password:
jpa:
database-platform: org.hibernate.dialect.H2Dialect
h2:
console:
enabled: true```
## Install and run
You build the application using maven (check the prerequisites).
```bash
> mvn clean install
> java -jar target/.jar
```