Closed joel-alvarado closed 1 month ago
@evnd04 Re-opening because I accidentally added the completed label and it's supposed to be assigned to @shenied-maldonado
After having discussed this with our DB manager, we agreed to implement CRUD operations as they become necessary. For this first milestone, we deemed user registration as the main focus for developing CRUD functions. A separate issue was opened for this and others will follow, leaving this as a parent task.
Task: Add Database-Related Boilerplate Code
Revised: This task does not consider heavily consider error handling. Error handling must be the subject of a separate task.
Objective
The goal of this task is to set up the foundational database-related code that will allow interaction with the existing schema, which includes
users
,admins
,reports
, andalerts
tables. This code will act as the boilerplate for connecting, querying, and managing the database for the SafeRUM app.Task Description
This task involves creating boilerplate code for database management in the SafeRUM app. The focus will be on setting up a database connection, creating basic functions for interacting with
users
,admins
,reports
, andalerts
tables. This code will serve as the base for all future interactions with the database and should follow best practices for security, scalability, and performance.The boilerplate will include functions for basic CRUD (Create, Read, Update, Delete) operations on each table, as well as setting up configurations for connecting to the database (e.g., credentials, environment settings, and connection pooling).
Implementation
Subtasks
users
,admins
,reports
, andalerts
tables.Testing and Debugging:
users
,admins
,reports
, andalerts
).Deadline: (Revised: This task carried on to M2 from M2.) The CRUD operations for the
admins
,users
,alerts
andreports
table will be completed by