refactor auth, maybe bug with hashing

This commit is contained in:
2024-09-03 17:06:23 -04:00
parent cc74be72be
commit f0fd79bed8
25 changed files with 776 additions and 1340 deletions

13
.env
View File

@@ -1,12 +1,13 @@
RUST_LOG=warn,service=info
DATABASE_CONTAINER=aviation-db
DATABASE_USER=aviation
DATABASE_PASSWORD=
DATABASE_NAME=aviation
DATABASE_HOST=db
DATABASE_HOST=localhost
DATABASE_PORT=5432
REDIS_HOST=redis
REDIS_HOST=localhost
REDIS_PORT=6379
MINIO_ROOT_USER=aviation
@@ -15,11 +16,9 @@ MINIO_HOST=localhost
MINIO_PORT=9000
MINIO_PORT_INTERNAL=9001
SERVICE_HOST=service
SERVICE_HOST=localhost
SERVICE_PORT=5000
KEYS_DIR_PATH=
ACCESS_TOKEN_MAXAGE=5
REFRESH_TOKEN_MAXAGE=30
UI_PORT=3000
NODE_ENV=development
GOV_API_URL=https://aviationweather.gov/cgi-bin/data