CPT Requirements

Project Feature Blog Writeup

My feature allows a user to input their overall stars for a park and write detailed reviews that are visible to others. The system processes online data streams in the form of text and integer values in real time, efficiently managing reviews while ensuring they follow community guidelines through moderation by administrators.

Feature Overview

The system consists of two primary components:

  1. User Input & Submission
    • Users can input a star rating (1-5) and a written review via their device
    • The data is synced to the AWS-based backend server as an online data stream, where it's processed and stored in a SQLite database table for retrieval.
  2. Backend Processing & CRUD Operations
    • Create: When a user submits a review, it's collected in a list in the database.
    • Read: Reviews are dynamically retrieved and displayed on the national park’s page using sequencing algorithms and iteration
    • Update: Users can edit their past reviews if needed.
    • Delete: If a review violates guidelines, administrators can remove it.

This rating and review system enhances user engagement and decision-making for national park visitors. With a carefully structured algorithm, a well-organized procedure, and real-time online data streams, this feature ensures a smooth and exciting experience for all users.

Student Developed Procedure: Star Rating API

This feature demonstrates accepting user input of star review numbers and storing it in the backend database for future reference.

Student Developed Procedure: Calling API in Frontend

This code, pulled from frontend, uses the student-built API to store data for each of the national parks.

Lists in Student Developed Procedure: Initializing Data

This list initializes rating data (in list format) and sets the stage for further rating submissions.

Lists in Student Developed Procedure: Reading and Updating Lists

CRUD functions update the lists frequently through integration with frontend.