-
Notifications
You must be signed in to change notification settings - Fork 1
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
Backend/develop #9
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…O JUST NEEDS TO BE POPULATED
…ns configurations for mongo and mysql; requirements.txt that has dependencies needed to fill up database; populate.py which populates mysql; mongo common functions; mysql functions to execute custom queries
…too memory intensive, moving on to mongosdb filling first
… routes.py; edited setup.sh
… redid routes.py, referring to logic in api_logic/; added additional python modules to requirements.txt
…ew_list.py to display all reviews in dummy api
…e/50043-Project into backend/develop
…e/50043-Project into backend/develop
Creating the sql commands to populate the data.
…lueprints to accomodate the app factory; created wsgi.py as entrypoint for server; deleted templates folder (previously held outdated frontend scripts)
First try on populating MySQL using populate.sql
This reverts commit 9e9b764.
280 rows are not updated
…py and README.md to document how to run the backend server
…/modules/reviews/post_new_review.py and app/modules/reviews/review_list.py; edit config.py to include separated versions of class DevConfig, separated according to local/remoteDev depending on the environment we'll be running the code on; add dropDb function in mongodbCommon.py for use by setup/mongodb_teardown.py; create mongodb_setup.py, mongodb_teardown.py, mysql_setup.sql, mysql_teardown.sql for setting up/tearing down both dbs; create mysql_mongodb_setup.sh and mysql_mongodb_teardown.sh which uses previously mentioned scripts to set up/tear down both dbs; create setup.sh which installs files required to run setup/mysql_mongodb_setup.sh
Backend/review list
…ardown.sh, setup.sh for setup in khai's remote vm
…nt in backend/app/__init__.py; add routing for book endpoints in backend/app/modules/books/__init__.py; add logic for function in backend/app/modules/books/main_bot_row_books.py; edit backend/setup/mongodb_setup.py to refer to relative path of metadata json;
…043-Project into backend/develop
…n None instead of reviews relating to the book
…043-Project into backend/develop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.