CPT Ideation


checkpoint A

Published on January 12, 2024 by

APCSP CODE CODE CODE

2 min READ

Main Idea: Chinese Food

We all share a common issue in San Diego, and that is trying to find authentic Chinese food. Other websites such as yelp or google do not always help, as some of the reviews are innacurate. That is why in our website, we will have a chinese food informational website based in San Diego and nearby. When you open up our website you will see three main sections:

Section 0: User Login

Simple user login that will have a login and a signup page. This will be useful later in section 3. We will complete this by using POST requests specifically for user login, signup, and submitting reviews. The POST request will send form data to our server, effectively allowing user side actions to be saved on the website.

image.png

Section 1: Finder

This is pretty straight foward: search up a chinese restaurant near you, it will give you chinese restaurants that are similar in cuisine or name. For this, we will use GET requests to retrieve data from an API and chinese restaurants will pop up.

Section 2: Cuisine Information & Finder

Most people do not know that “Chinese” cuisine is split into 8 cuisines: 安徽、广东、福建、湖南、江苏、山东、四川、浙江. We will make an interactive page like this

image.png

You can hover over each different cuisine, and click on what cuisine you want to learn about or find restaurants for. When clicking on one, it will direct the user to a page giving some brief information on the cuisine including spices and types of foods that are commonly seen in this province of China, and where you can find similar food in San Diego (nearby).

Section 3: User Reviewing and Comments

This is where user login is important. Users will be able to leave reviews under restaurants they’ve been to. This will be helpful, as it will help others discover good Chinese food and they will know what to order when they go there. Again, POST requests will be used to allow users to submit reviews, and GET requests will be used to fetch the list of reviews. For an additional challenge, we can use PUT requests to allow users to edit their reviews.

Aaron Hsu

In this CPT project, I am going to work on the frontend of the user login, then I am going to connect the frontend with the backend. After the user login is finish, we all are going to work on the food finder together, since it’s harder. Then we will work on the user review.

Ryan Liao

I will be working on the user login as well as the cuisine information and finder. I plan to get some basic frontend design first, so I can see what I need to do in terms of backend.

Jason Guan

I will be working on the homepage of this CPT Project. In addition, I will also be helping and supporting Aaron and Ryan on their tasks if they need to. Lastly, deploying a good theme is important since the website’s appearance is how pleasure the people browsing the website are.