feat: refresh token system

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2025-01-14 00:59:21 +03:00
parent 87412ca828
commit cf1107d09c
7 changed files with 85 additions and 63 deletions

6
.env
View file

@ -1,3 +1,3 @@
# This is for sqlx to do compile time sql checking
# Actual server and database configs are in config folder
DATABASE_URL=postgres://root:root@localhost:5432/rust_forum
# This is for sqlx to do compile time SQL checking.
# Actual server and database configs are in "configs" folder which is in main directory by default.
DATABASE_URL=postgres://root:root@localhost:5432/rust_forum