uprm-inso4116-2024-2025-s1 / semester-project-SafeRUM

semester-project-safeRUM created by GitHub Classroom
7 stars 1 forks source link

Implement CREATE user CRUD operation #170

Closed shenied-maldonado closed 1 day ago

shenied-maldonado commented 1 day ago

Objective

Implement user registration backend process (CREATE CRUD operation for the database's users table).

Task Description

Incorporate the user registration CREATE USER CRUD operation as part of the overall database boilerplate code issue described by @joel-alvarado.

Implementation

Use SQLAlchemy to manage database connection and Flask Blueprints o ensure a modular design in allowing users records to be added to our database's users table. Use Postman for debugging. Include only boilerplate code, leaving validation as task to be tackled later on.

Subtasks

Deadline

This CRUD operation will be completed by Friday, September 20th.

shenied-maldonado commented 1 day ago

Since managing user records requires the extra consideration of authentication and session management, it was a little more difficult to showcase how to use Flask Blueprints and SQLAlchemy to implement CRUD operations using the users table. Thus, the linked branch includes the rewritten implementation of CRUD operations for reports for demonstration purposes.