Our project
For our project, we did a chinese food finder. The purpose of our project is to let people understand more about chinese food and we can give some suggestions about restaurants that is good for them.
Elements
- User signup
- User login
- table of content
- Food Chart
- Comments
- Food Finder(in progress)
What did I do?
- In this cpt project I work on the table of content and the food chart. After users finish login, the Table of content will come out. Table of content is a really simple and useful, it links to every place in our project like the food chart and the comments.
- Key commit: https://github.com/AaronH1234/cptproject/commit/00b53240963511f9fa187352b4e8a4a01dd6ecdc
- The second thing I work on, which is the main point of our project is the food chart. For this food chart, you will need to click the + button in the middle, then 8 buttons will come out arround the button at the middle. Each button represent a chinese cuisine, you can click on any button and it will bring you to a different cuisine. In the cuisine, we talk about the feature of the cuisine and some represent foods and some restaurants that is in the San Diego.
- Key commit: https://github.com/AaronH1234/cptproject/commit/760a94985aacaeb040faa507caa51317c70385be
- I also talk about most of the cuisines, I give discription, features, some represent food, and some restaurants about different cuisines.
- key commit: https://github.com/AaronH1234/cptproject/commit/34aab543db54cee747d0e53757d8e3639330f3fd, https://github.com/AaronH1234/cptproject/commit/a791feaec76297e22c94dbdb022c12a8cbc737da, https://github.com/AaronH1234/cptproject/commit/be5e4447066610affd8f1c59628aeda112d28b2d, https://github.com/AaronH1234/cptproject/commit/6a8a31b5f1cc592d3eb90cafcf61b4055de3c102, https://github.com/AaronH1234/cptproject/commit/187691cad4470b1b6fc62fd1d62bbd8ced0dbf30
TEAM CONTRIBUTIONS
- For the signup and login, I get my signup work during the spot check 1, so in this project, I put the code for signup into our project but it isn’t showing up at the backend. After that, Ryan help and do another new signup and login page that is working.
- When I do the food chart, I have a problem that the 8 button can come out correct, thene I communicate with Jason and debug it.
PROJECT MATCHING CPT REQUIREMENTS
Instructions for input from one of the following: the user, a device, an online data stream, a file.
- In our project for user login, we require JWT tokens and credentials.
Use of at least one list (or other collection type) to represent a collection of data that is stored and used to manage program complexity and help fulfill the users purpose.
- We use SQLite tables to store and manage data about users and comments.
At least one procedure that contributed to the program’s intended purpose where you have defined: the name, return type, one or more parameters.
- We have procedures for user authentication and authorization which take JWT tokens and user credentials
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure.
- We use if function in the user login to diteremine if the password is right or not
Calls to your student-developed procedure.
- Our procedures for user management and comment management are called throughout the application.
Instructions for output (tactile, audible, visual, or ) based on input and program functionality.
- Login redirects users, keep the comments publish by user.