Skip to content

Commit

Permalink
build: Create CI/CD pipeline (#238)
Browse files Browse the repository at this point in the history
* build: Build CI/CD pipeline using github actions (#228)

* fix: Only show assets which are not deleted

* fix: Fix Pagination bug

* build: Dockerize backend and frontend services

* build: Add production deployment script

* chore: Remove environment files from git tracking

* Feat charts (#230)

* feat:charts

* feat: Add new chart to view individual asset type count

* fix: changed namings

* feat: Add test to backend assetype and assetview

* feat: added new chart

* feat: Add new chart cards for improved dashboard user experience

* Add bar chart component which feature individual asset count and card components that show various data for enhanced ux experience

* fix: fixes to some code lines

* fix: Fix dashboard ui padding and margin

* fixes

* fix: AssetView fix

* fix: ui

* fix: code structure

* feat: new ui design for charts

* feat:making chart responsive

* fix charts

* feat-charts

* feat-charts

* Feat charts (#231)

* feat:charts

* feat: Add new chart to view individual asset type count

* fix: changed namings

* feat: Add test to backend assetype and assetview

* feat: added new chart

* feat: Add new chart cards for improved dashboard user experience

* Add bar chart component which feature individual asset count and card components that show various data for enhanced ux experience

* fix: fixes to some code lines

* fix: Fix dashboard ui padding and margin

* fixes

* fix: AssetView fix

* fix: ui

* fix: code structure

* feat: new ui design for charts

* feat:making chart responsive

* fix charts

* feat-charts

* feat-charts

* revert: reverted back to old files due to crashing

* fix

* Feat charts (#233)

* feat:charts

* feat: Add new chart to view individual asset type count

* fix: changed namings

* feat: Add test to backend assetype and assetview

* feat: added new chart

* feat: Add new chart cards for improved dashboard user experience

* Add bar chart component which feature individual asset count and card components that show various data for enhanced ux experience

* fix: fixes to some code lines

* fix: Fix dashboard ui padding and margin

* fixes

* fix: AssetView fix

* fix: ui

* fix: code structure

* feat: new ui design for charts

* feat:making chart responsive

* fix charts

* feat-charts

* feat-charts

* revert: reverted back to old files due to crashing

* fix

* fix: responsiveness of dashboard

* feat:Add new UI display to charts when no data is found

* feat: Create API for getting unique values of different fields in the asset table (#234)

* fix: Only show assets which are not deleted

* fix: Fix Pagination bug

* build: Dockerize backend and frontend services

* feat: Create API for getting unique values of different fields in asset table

* fix: Change sidebar tooltip message (#235)

* fix: Only show assets which are not deleted

* fix: Fix Pagination bug

* build: Dockerize backend and frontend services

* fix: Change tooltip message in download menu item in sidebar

* build: Create CI/CD pipeline (#237)

* fix: Only show assets which are not deleted

* fix: Fix Pagination bug

* build: Dockerize backend and frontend services

* build: Add production deployment script

* chore: Remove environment files from git tracking

* build: Add CORS settings to .env files

---------

Co-authored-by: Aidrin Varghese <[email protected]>
  • Loading branch information
getwithashish and AidrinVarghese authored Apr 19, 2024
1 parent 83de8da commit 2f12af1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions exam_django/exam_django/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ def get_env_config() -> decouple.Config:
)


CORS_ORIGIN_WHITELIST = ["http://localhost:5173"]
CORS_ORIGIN_WHITELIST = config(
"CORS_ORIGIN_WHITELIST", cast=lambda v: [item.strip() for item in v.split(",")]
)

CORS_ALLOW_CREDENTIALS = True

CORS_ALLOWED_ORIGINS = ["http://localhost:5173"]
CORS_ALLOWED_ORIGINS = config(
"CORS_ALLOWED_ORIGINS", cast=lambda v: [item.strip() for item in v.split(",")]
)

# CORS_ALLOW_HEADERS: List[str] = (
# list(default_headers) + ["Content-Type"] + get_all_cors_headers()
Expand Down

0 comments on commit 2f12af1

Please sign in to comment.