CPT - Project Plannings
CPT - Purpose of our CPT Project
- Our purpose of this project is to help the people who trying to find authentic Chinese food. In our website, we will have a chinese food informational website that is based in San Diego and nearby.
- Allow users to search up any Chinese Restaurants nearby and in San Diego.
- Allow users to post comments for each Chinese Restaurants.
- Ratings from 1 - 10.
- Allow users to learn more about the Chinese 8 cuisines on the website.
CPT - What did I contribute?
The main individual features
Frontend of the whole website
Designing every blog covers
- example: Blog Cover for “Comments”
Debugging the Food Chart
Customized Buttons
Other things that I have created
- Frontend of the Comments
CPT - Requirements
- Instructions for input from one of the following: the user (including user actions that trigger events), a device, an online data stream, a file
- 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 program’s purpose
- At least one procedure that contributes to the program’s intended purpose, where you have defined the procedure’s name, the return type (if necessary), and one or more parameters
- An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure
- Calls to your student-developed procedure
- Instructions for output (tactile, audible, visual, or textual) based on input and program functionality
Instructions for input from one of the following: the user (including user actions that trigger events), a device, an online data stream, a file
For our user login project, we need both JWT tokens and user 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 program’s purpose
We rely on SQLite tables to store and handle information regarding both users and comments within our system. As you could see below…
At least one procedure that contributes to the program’s intended purpose, where you have defined the procedure’s name, the return type (if necessary), and one or more parameters
Our “redirect” function ensures that users store their UID; failure triggers an error message. It utilizes the “data” parameter containing name, UID, and password for verification against the user.py database.
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure
In our user login process, we employ an “if” function to determine the correctness of the provided password. As you could see down below:
Calls to your student-developed procedure
The Search Bar is still in progress… But it will work once the real API is developed.
Instructions for output (tactile, audible, visual, or textual) based on input and program functionality
When users log in, they’re smoothly taken to their accounts, where their comments are still there for them to see and use.