-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env_sample
33 lines (29 loc) · 1.12 KB
/
.env_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ==== JWT ENCRYPTION CONFIG ====
SECRET_KEY = "secret key for encrypting/decrypting JWT tokens"
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 3600
# ==== REQUESTS CONFIG ====
LOCALHOST = "http://localhost:8000"
USERNAME = "username"
PASSWORD = "password"
# ==== TEST CREDENTIALS ====
TEST_USERNAME = "test_user"
TEST_PASSWORD = "test_password"
# ==== MONGODB CONFIG ====
MONGODB_CONNECTION_STRING = "mongodb+srv://fake_user:[email protected]:27017"
MONGODB_HOST = "host.mongodb.net"
MONGODB_PORT = 27017
MONGODB_DB_NAME = "DefaultDB"
MONGODB_USER_COLLECTION_NAME = "users"
MONGODB_BOOK_SHELF_COLLECTION_NAME = "books"
MONGODB_USERNAME = "fake_user"
MONGODB_PASSWORD = "fake_password"
# ==== TEST MONGODB CONFIG ====
TEST_MONGODB_CONNECTION_STRING = "mongodb+srv://fake_user:[email protected]:27017/test"
TEST_MONGODB_HOST = "host.mongodb.net"
TEST_MONGODB_PORT = 27017
TEST_MONGODB_DB_NAME = "Test_FastAPI_Demo_Project"
TEST_MONGODB_USER_COLLECTION_NAME = "test_users"
TEST_MONGODB_BOOK_SHELF_COLLECTION_NAME = "test_books"
TEST_MONGODB_USERNAME = "test_fake_user"
TEST_MONGODB_PASSWORD = "test_fake_password"