{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"---\n",
"layout: post\n",
"title: Sprint 5 Personal Blog\n",
"description: personal blog for sprint 5\n",
"permalink: /sprint5/\n",
"comments: true\n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"# Purpose of Group Program\n",
"\n",
"The purpose of this program is to create a chat application that incorporates several features, such as:\n",
"\n",
"- Sending and receiving messages.\n",
"- Censoring inappropriate content in messages.\n",
"- Storing messages and their metadata in a database.\n",
"- Managing and viewing chat history.\n",
"\n",
"This program provides a foundation for collaborative and interactive communication, with an emphasis on ethical behavior through content moderation.\n",
"\n",
"---\n",
"\n",
"\n",
"# Purpose of Individual Features\n",
"\n",
"Each individual feature contributes to a specific aspect of the chat program:\n",
"\n",
"- **Message Input/Output**: Handling user-generated messages and ensuring that they are stored and returned properly.\n",
"- **Censorship Feature**: Filtering out inappropriate words to ensure the messages remain appropriate.\n",
"- **Database Integration**: Managing the messages in the database, allowing for operations such as creating, reading, updating, and deleting messages.\n",
"\n",
"---\n",
"\n",
"# Input/Output: Demonstrating API Requests\n",
"\n",
"Let's demo how we can interact with our chat application using **API requests**. We will use both the **frontend** and **Postman** to show how messages are sent, stored, and retrieved from the backend.\n",
"\n",
"### Frontend API Request Example\n",
"\n",
"This HTML form collects user input and sends a POST request to the Flask backend. The backend will process the message, censor inappropriate content, and store it in the database.\n",
"\n",
"```html\n",
"