Created
October 21, 2025 09:29
-
-
Save ricardocuellar/d7a6d11883753464a781d4ed0547e71f to your computer and use it in GitHub Desktop.
FastAPI - Sección 14 - Seeds - Categories, tags y users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CATEGORIES = [ | |
| {"name": "Python", "slug": "python"}, | |
| {"name": "FastAPI", "slug": "fastapi"}, | |
| {"name": "SQLAlchemy", "slug": "sqlalchemy"}, | |
| {"name": "Django", "slug": "django"}, | |
| {"name": "Flask", "slug": "flask"}, | |
| {"name": "Javascript", "slug": "javascript"}, | |
| {"name": "Golang", "slug": "golang"}, | |
| {"name": "Laravel", "slug": "laravel"}, | |
| ] | |
| TAGS = [ | |
| {"name": "python"}, | |
| {"name": "fastapi"}, | |
| {"name": "django"}, | |
| {"name": "desarrollo"}, | |
| {"name": "backend"}, | |
| {"name": "apis"}, | |
| {"name": "frontend"}, | |
| {"name": "javascript"}, | |
| {"name": "cloud"}, | |
| {"name": "flask"} | |
| ] | |
| USERS = [ | |
| { | |
| "email": "[email protected]", | |
| "full_name": "Admin", | |
| "password": "Admin123!", | |
| "role": "admin" | |
| }, | |
| { | |
| "email": "[email protected]", | |
| "full_name": "Editor", | |
| "password": "Editor123!", | |
| "editor": "editor" | |
| }, | |
| { | |
| "email": "[email protected]", | |
| "full_name": "User", | |
| "password": "User123!", | |
| "editor": "user" | |
| }, | |
| { | |
| "email": "[email protected]", | |
| "full_name": "Ricardo Cuéllar", | |
| "password": "pruebas123!", | |
| "editor": "admin" | |
| }, | |
| { | |
| "email": "[email protected]", | |
| "full_name": "Fernando Herrera", | |
| "password": "pruebas123!", | |
| "editor": "editor" | |
| }, | |
| { | |
| "email": "[email protected]", | |
| "full_name": "Juan Pérez", | |
| "password": "pruebas123!", | |
| "editor": "user" | |
| }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment