Skip to the content.

Individual review Tri 2 • 6 min read

Description

Review of code and contributions from this trimester.

Project Overview:

My team’s idea was to create a website that could help students get the resources they need to succeed, even from home. As students ourselves, we found that it would be helpful to be able to ask questions that our peers or teachers could help us out with. Users of our site can both ask and answer questions.

My contribution:

For my contribution to the project, I added an update and delete user function. This way, users could either update their profile information including their username or date of birth. With my function, users could also delete themselves from the database as well.

Component A: Code from Program

My code:

Table with code that satisfies collegeboard requirements:

Collegeboard Requirements

Requirements Program Example
Instructions for input from one of the following: the user, a device, an online datas stream, a file. My code receives input from the user when the user edits their profile (PUT method).
Use of at least one list (or other collection type) to represent a collectino of data that is stored and used to manage program complexity and help fulfill the users purpose. The database stores user information such as date of birth, as well as questions.
At least one procedure that contriubted to the program’s intened purpose where you have defined: the name, return type, one or more parameters: This code has a name (post) and return type.
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure This code stores the user information and recalls it for later on.
Calls to your student-developed prodcedure This code uses a FETCH function to send a DELETE message to the api.
Instructions for output (tactile, audible, visual) based on input and program functionality This code demonstrates a fetch that shows a user that they have deleted themselves from the database.

Final Reflection

This trimester certainly had ups and downs, and I was quite frankly happy that I was able to work with such a good team. I learned how to code javascript, since I was a frontend developer, which was not my strong suit at the beginning of the trimester. Overall, I had a great experience and learned many new skills I can apply next trimester.