First Commit
- Added a script with all FastAPI methods - Added a main.py file to start everything - Generated a config that grabs data from .env
This commit is contained in:
9
src/config.py
Normal file
9
src/config.py
Normal file
@ -0,0 +1,9 @@
|
||||
from decouple import config
|
||||
|
||||
|
||||
db_name = config('DB_NAME')
|
||||
postgres_user = config('POSTGRES_USER')
|
||||
postgres_password = config('POSTGRES_PASSWORD')
|
||||
host_name = config('HOST_NAME')
|
||||
port = config('PORT')
|
||||
logging_level = config('LOGGING_LEVEL')
|
||||
Reference in New Issue
Block a user