hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
154 stars 136 forks source link

Database Schema - Modeling, Migrations and Seeding #44

Closed Armolas closed 1 month ago

Armolas commented 2 months ago

Description

Set up the database for this project using SQLAlchemy, and PostgreSQL as the selected DB, which would also be configurable to accommodate other DB flavors. Additionally, it will ensure a secure database design for users, profile and organizations tables. This setup would follow the migrations, models, and service patterns that are commonly used in projects such as this.

Acceptance Criteria

To validate the setup, it would complete the following steps:

Tables and Constraints

Tables seeding

Expected outcome

A well-structured database including the necessary migrations and models, with appropriate relationships such as one-to-one and one-to-many, along with seeders to populate the database with dummy data.

Dev-wonderful commented 2 months ago

Add the preferred ORM for this project, Set up the database for this project using SQLAlchemy

Use your words to say what you would be doing, all the must and should should be would. To highlight what you want to do

Armolas commented 2 months ago

The words have been updated sir

SundayMba commented 1 month ago

task already implemented by the team lead.