Skip to content

Commit

Permalink
backend rest-api
Browse files Browse the repository at this point in the history
  • Loading branch information
eethansmith committed Dec 15, 2023
1 parent 7268d3d commit 329cfb4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backend/investmentportfolio/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'white_noise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
Expand Down Expand Up @@ -122,6 +121,10 @@
# https://docs.djangoproject.com/en/4.2/howto/static-files/

STATIC_URL = 'static/'
STATIC_ROOT = BASE_DIR / 'staticfiles'
STATIC_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'



# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Expand Down
43 changes: 43 additions & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
appdirs==1.4.4
asgiref==3.7.2
backports.zoneinfo==0.2.1
beautifulsoup4==4.12.2
certifi==2020.11.8
chardet==3.0.4
charset-normalizer==3.3.2
cycler==0.10.0
Django==4.2.7
django-cors-headers==4.3.1
djangorestframework==3.14.0
frozendict==2.3.8
holidays==0.38
html5lib==1.1
idna==2.10
kiwisolver==1.3.1
lxml==4.9.3
matplotlib==3.3.2
multitasking==0.0.11
numpy==1.24.4
packaging==23.2
panda==0.3.1
pandas==2.0.3
peewee==3.17.0
Pillow==8.0.1
plotly==4.12.0
psycopg2==2.9.9
psycopg2-binary==2.9.9
pyparsing==2.4.7
pytesseract==0.3.10
python-dateutil==2.8.2
pytz==2023.3.post1
requests==2.31.0
retrying==1.3.3
six==1.15.0
soupsieve==2.5
sqlparse==0.4.4
typing_extensions==4.8.0
tzdata==2023.3
urllib3==1.26.2
webencodings==0.5.1
whitenoise==6.6.0
yfinance==0.2.32

0 comments on commit 329cfb4

Please sign in to comment.