Skip to content

Commit

Permalink
Merge pull request #35 from josemoracard/jose1-README
Browse files Browse the repository at this point in the history
fixed text README
  • Loading branch information
tommygonzaleza authored Nov 9, 2023
2 parents f76bf52 + 359f9fa commit 767cb81
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Crea el modelo de base de datos para Instagram
<!--endhide-->

**Importante**: Para realizar esta actividad necesitas hacer un `fork` de [este repo](https://github.com/breatheco-de/exercise-instagram-data-modeling) en tu cuenta de **Github** y luego, abrir el *fork* en Gitpod.
**Importante**: Para realizar esta actividad necesitas hacer un `fork` de [este repo](https://github.com/breatheco-de/exercise-instagram-data-modeling) en tu cuenta de **Github** y luego, abre el *fork* en Codespaces (recomendado) o Gitpod.

Dentro del archivo `src/models.py` encontrarás un par de clases que describen una base de datos de ejemplo.

Aquí hay un video de 4 minutos que explica qué es UML: [https://www.youtube.com/watch?v=UI6lqHOVHic](https://www.youtube.com/watch?v=UI6lqHOVHic)
Aquí hay un video de 10 minutos que explica qué es UML: [https://www.youtube.com/watch?v=UI6lqHOVHic](https://www.youtube.com/watch?v=UI6lqHOVHic)

Vamos a crear el Diagrama de relación de entidad para la base de datos de Instagram, un diagrama muy similar a este:

Expand All @@ -18,7 +18,7 @@ Vamos a crear el Diagrama de relación de entidad para la base de datos de Insta

## 💻 Instalación

1. Entra dentro del environment (ambiente) `$ pipenv shell`
1. Entra dentro del environment (entorno) `$ pipenv shell`

2. Instala todas las dependencias `$ pipenv install`

Expand All @@ -29,13 +29,13 @@ Vamos a crear el Diagrama de relación de entidad para la base de datos de Insta

## 📝 Instrucciones

Tu trabajo es actualizar el archivo `src / models.py` con el código necesario para replicar el modelo de datos de Instagram.
Tu trabajo es actualizar el archivo `src/models.py` con el código necesario para replicar el modelo de datos de Instagram.

El proyecto está utilizando la librería Python SQLAlchemy para generar la base de datos.

- ¿Qué tablas crees que Instagram podría tener en su base de datos, por ejemplo: Publicar, Usuario, etc.?
- ¿Qué propiedades deben ir dentro del usuario? o ¿Dentro de la tabla de correos?
- ¿Qué tablas crees que Instagram podría tener en su base de datos, por ejemplo: Post, Usuario, etc.?
- ¿Qué propiedades deben ir dentro de la tabla Usuario? o ¿Dentro de la tabla Post?
- Agrega al menos 4 modelos con todas sus propiedades.
- Regenera el archivo `diagram.png` al final ejecutando `$ python3 models.py` en la consola.
- Actualiza el archivo `diagram.png` al final ejecutando `$ python src/models.py` en la consola.

Este y otros proyectos son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Curso de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
Este y otros proyectos son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro Sánchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce más sobre nuestros [Cursos de Programación](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# Create the database model for Instagram
<!--endhide-->

**Important**: To do this activity you need to `fork` [this repo](https://github.com/breatheco-de/exercise-instagram-data-modeling) into your **Github** account and then open the forked repo on Gitpod.
**Important**: To do this activity you need to `fork` [this repo](https://github.com/breatheco-de/exercise-instagram-data-modeling) into your **Github** account and then open the forked repo on Codespaces (recommended) or Gitpod.

Inside he `src/models.py` file you will find a couple of classes describing an example database.
Inside the `src/models.py` file, you will find a couple of classes describing an example database.

Here is a 4min video explaining what UML is: [https://www.youtube.com/watch?v=UI6lqHOVHic](https://www.youtube.com/watch?v=UI6lqHOVHic)
Here is a 10 min video explaining what UML is: [https://www.youtube.com/watch?v=UI6lqHOVHic](https://www.youtube.com/watch?v=UI6lqHOVHic)

The `diagram.png` file generates a database chart based on the classes that you will be creating. Such charts in Database Management are referred to as ERDs (Entity Relatonship Diagrams).

Please watch these two short videos explaining ERDs:
[https://www.youtube.com/watch?v=QpdhBUYk7Kk&t=4s](https://www.youtube.com/watch?v=QpdhBUYk7Kk&t=4s)
[https://www.youtube.com/watch?v=-CuY5ADwn24&t=738s](https://www.youtube.com/watch?v=-CuY5ADwn24&t=738s)
+ [https://www.youtube.com/watch?v=QpdhBUYk7Kk](https://www.youtube.com/watch?v=QpdhBUYk7Kk)
+ [https://www.youtube.com/watch?v=-CuY5ADwn24](https://www.youtube.com/watch?v=-CuY5ADwn24)

You will have to create the Entity Relationship Diagram for Instagram's Database - a very similar diagram to this one:

Expand Down Expand Up @@ -40,8 +40,8 @@ Your job is to update the `src/models.py` file with the code needed to replicate
The project is using the SQLAlchemy Python library to generate the database.

- What tables do you think Instagram might have on its database: E.g: Post, User, etc.?
- What properties should go inside the user? or inside the Post table?
- Please add at least 4 models with all of its properties.
- What properties should go inside the User? or inside the Post table?
- Please add at least 4 models with all of their properties.
- Refresh the `diagram.png` file at the end by running `$ python src/models.py` on the console.

This and many other projects are built by students as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro Sanchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).
Expand Down

0 comments on commit 767cb81

Please sign in to comment.