feat: OAuth implementation with Discord
All checks were successful
CI / tests (push) Successful in 10m39s
CI / tests (pull_request) Successful in 11m17s

This commit separates the core features of GéJDR from the backend as
these will also be used by the bot in the future.

This commit also updates the dependencies of the project. It also
removes the dependency lettre as well as the mailpit docker service
for developers as it appears clearer this project won’t send emails
anytime soon.

The publication of a docker image is also postponed until later.
This commit is contained in:
2024-08-10 11:06:18 +02:00
parent 2013d04cf7
commit aac70e4131
49 changed files with 2699 additions and 720 deletions

View File

@@ -0,0 +1,22 @@
application:
port: 3000
name: "GegeJdrBackend"
version: 0.1.0
database:
host: localhost
port: 5432
name: gege-jdr-backend
user: dev
password: password
require_ssl: false
email:
host: smtp.gege-jdr-backend.example
user: user@gege-jdr-backend.example
from: GegeJdrBackend <noreply@gege-jdr-backend.example>
password: hunter2
discord:
client_id: changeme
client_secret: changeme

View File

@@ -0,0 +1,7 @@
frontend_url: http://localhost:5173
debug: true
application:
protocol: http
host: localhost
base_url: http://localhost:3000

View File

@@ -0,0 +1,7 @@
debug: false
frontend_url: ""
application:
protocol: https
host: 0.0.0.0
base_url: ""