Skip to content

Commit fcfc58b

Browse files
committed
Curso de Python desde cero en YouTube [Backend]
1 parent c625bef commit fcfc58b

28 files changed

+43
-24
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__pycache__/
2+
*.py[cod]
-868 Bytes
Binary file not shown.
-432 Bytes
Binary file not shown.
-2.52 KB
Binary file not shown.
Binary file not shown.

Backend/FastAPI/db/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Clase en vídeo (22/12/2022): https://www.twitch.tv/videos/1686104006
1+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=20480)
22

33
### MongoDB client ###
44

@@ -15,7 +15,7 @@
1515
# Base de datos local MongoDB
1616
db_client = MongoClient().local
1717

18-
# Clase en vídeo (28/12/2022): https://www.twitch.tv/videos/1691208894
18+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=25470
1919

2020
# Base de datos remota MongoDB Atlas (https://mongodb.com)
2121
# db_client = MongoClient(
Binary file not shown.

Backend/FastAPI/db/models/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Clase en vídeo (22/12/2022): https://www.twitch.tv/videos/1686104006
1+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=20480
22

33
### User model ###
44

Binary file not shown.

Backend/FastAPI/main.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Clase en vídeo (24/11/2022): https://www.twitch.tv/videos/1661716599
1+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A
22

33
### Hola Mundo ###
44

@@ -12,16 +12,20 @@
1212

1313
app = FastAPI()
1414

15-
# Routers - Clase en vídeo (08/12/2022): https://www.twitch.tv/videos/1673759045
15+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=12475
1616
app.include_router(products.router)
1717
app.include_router(users.router)
1818

19-
# Routers - Clase en vídeo (22/12/2022): https://www.twitch.tv/videos/1686104006
19+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=14094
2020
app.include_router(basic_auth_users.router)
21+
22+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=17664
2123
app.include_router(jwt_auth_users.router)
24+
25+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=20480
2226
app.include_router(users_db.router)
2327

24-
# Recursos estáticos - Clase en vídeo (14/12/2022): https://www.twitch.tv/videos/1679022882
28+
# Clase en vídeo: https://youtu.be/_y9qQZXE24A?t=13618
2529
app.mount("/static", StaticFiles(directory="static"), name="static")
2630

2731

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy