{"id":331,"date":"2024-03-16T23:54:36","date_gmt":"2024-03-17T03:54:36","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/?p=331"},"modified":"2024-03-16T23:56:23","modified_gmt":"2024-03-17T03:56:23","slug":"sebastians-status-report-for-3-16-24","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/2024\/03\/16\/sebastians-status-report-for-3-16-24\/","title":{"rendered":"Sebastian\u2019s Status Report for 3\/16\/24"},"content":{"rendered":"<h3>Weekly Accomplishments<\/h3>\n<ul>\n<li>Created Mock Databases: food_info and food_inventory.\n<ul>\n<li>food_info contains the expiration duration and food type of all produce Sous-Chef will recognize<\/li>\n<li><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-333\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-content\/uploads\/sites\/307\/2024\/03\/food_info_db.png\" alt=\"\" width=\"359\" height=\"509\" \/><\/li>\n<li>food_inventory will be where we keep inventory of food and check for when each item will expire<\/li>\n<\/ul>\n<\/li>\n<li>Also able to login and connect locally with Database through a python mySQL connector. Thus I have accomplished being able to perform any SQL CRUD operations through python, and can begin to rollout my API.\n<ul>\n<li>Here is example of my running python script and pulling all the data in food_info<\/li>\n<li><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-334\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-content\/uploads\/sites\/307\/2024\/03\/backendDBcmd.png\" alt=\"\" width=\"190\" height=\"499\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-content\/uploads\/sites\/307\/2024\/03\/backendDBcmd.png 190w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-content\/uploads\/sites\/307\/2024\/03\/backendDBcmd-114x300.png 114w\" sizes=\"(max-width: 190px) 100vw, 190px\" \/><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>Now that I connect to the MySQL database locally via Python and perform operations, I began looking into building out the API that the Sous-Chef flutter App will access.\n<ul>\n<li>After some research, I was deciding in between using either Flask or FastAPI to create this. I am currently decided on FastAPI due to its speed and it appears to need less boilerplate code (we&#8217;ll see how correct I am about that).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Next Week Goals<\/h3>\n<ul>\n<li>Create the Python API that will connect the frontend of Sous-Chef to the database of the product using FastAPI.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Weekly Accomplishments Created Mock Databases: food_info and food_inventory. food_info contains the expiration duration and food type of all produce Sous-Chef will recognize food_inventory will be where we keep inventory of food and check for when each item will expire Also able to login and connect&nbsp;<a class=\"read-more\" href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/2024\/03\/16\/sebastians-status-report-for-3-16-24\/\">&hellip;<\/a><\/p>\n","protected":false},"author":847,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[5],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/posts\/331"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/users\/847"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":3,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":336,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/posts\/331\/revisions\/336"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teame5\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}