Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure app envs #66

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open

Configure app envs #66

wants to merge 34 commits into from

Conversation

agennadi
Copy link
Collaborator

Description

Environment variables are stored centrally in the .env.local file.
The compose.yaml is updated to use variables from .env.local.
The Settings class is created for Pydantic to read the environment variables.
README is updated.

#27

Type of changes

  • Bugfix
  • Chore
  • New Feature

Testing

  • I added automated tests
  • I think tests are unnecessary

How to test

Run docker-compose up -d
Access the application at http://localhost:3000/
Access the API at http://localhost:8000/docs
Run pytest backend/database/tests/test_database.py to test the database
Run docker-compose down

oscarsyu and others added 30 commits August 23, 2024 19:12
* Set up Next and FastAPI

* Removed .next cache and pycache.

* update gitignore

* clear cache

* update gitignore pt 2

---------

Co-authored-by: Mack Cooper <[email protected]>
…p dir is associated with requirements for streamlit app specifically
Integrating streamlit app updates
* cleared page.tsx, added blank lines

* cleared layout.tsx

* cleared global.css

* installed Prettier, configured Prettier and ESLint

* Updated prettierignore list
* cleared page.tsx, added blank lines

* created folders and files

* added content to the pages and configured routing

* corrected formatting

* added map view

* added page-not-found

* updated page not found

* updated according to comments
* created components test page

* created a mock button component

* Mock button updated and added to test lib

* components lib added and mock button updated

* updated according to comments
* Copied combined changes.

* Added pytest.

* Split models by concern.

* Moved each model into own python file.

* Deleted test_index.py

* Pruned TODO
* basic layout for home page

* added sizes and paddings

* refactoring

* refactoring
* Copied combined changes.

* Split models by concern.

* deleted test_index, added test_polygons

* deleted trailing space in .prettierrc
---------
Co-authored-by: AdamFinkle <[email protected]>
Co-authored-by: Anna Gennadinik <[email protected]>
* Copied combined changes.

* Added pytest.

* Split models by concern.

* Moved each model into own python file.

* Deleted test_index.py

* Pruned TODO

* Created mock database and tests.

* dockerized backend, frontend, db; added mock data; wrote db tests

* cleaned up code

* Added script for soft stories.
>
>
Co-authored-by: katiefg <[email protected]>
Co-authored-by: AdamFinkle <[email protected]>

* added script for soft stories

* Created script for soft stories.

Co-authored-by: katiefg <[email protected]>
Co-authored-by: AdamFinkle <[email protected]>

* minor refactoring

* modified package.json

* modified compose.yaml

* modified compose.yaml

* Added geopandas

Co-authored-by: katiefg <[email protected]>

* Co-authored-by: @katiefg

* Added comment about insecure request

* updated README

* resolved merge conflicts

* refactored tests

---------

Co-authored-by: AdamFinkle <[email protected]>
Co-authored-by: Anna Gennadinik <[email protected]>
Co-authored-by: katiefg <[email protected]>
Co-authored-by: AdamFinkle <[email protected]>
* added and applied colors

* font added

* text styles added

* text styles added

* sizes and paddings updated

* font colors added to textStyles

* updated logo font weight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants