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
Food Reviews #126
Food Reviews #126
Conversation
This sets up the infrastructure for food reviews but its missing the FastAPI code that allows it to become part of the backend. Also, we will need a DCT Database for this, you can copy and paste the database code in #125 for food reviews and change the table from |
I was gonna make the same comment about the database. I feel like there's a few different ways to save the food reviews in the database. Do we want it attached to only the food item or do we want to attach the user so that they can edit it. From your code it seems like we want the user to edit it in the future so we would need a model that has maybe the id of the user so we can verify its the users review, and the food rating. |
@MimiOlayeye, tests were failing on GitHub because it couldn't import |
Review #160 to get passing tests |
@RafaelPiloto10 Merging is blocked because you requested changes. Please review the changes I made when you get the chance. (thanks again for helping with the .env file!!) |
@MimiOlayeye Everyone approved! You can merge |
Let me know if there is anything I should change or add.
NOTE: originally this was supposed to be app backend, but I needed to have access to the FoodItem object so I added it to DCT backend.