Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c64ff43
feat: creadas las vistas y componentes del registro de usuario y empresa
vlx1844 Jun 9, 2026
8558c41
añadido archivos e imágenes, modificado package.json, home, layout y …
kwonsl Jun 12, 2026
e267963
feat: añadir modelos y endpoints GET y POST para eventos
vlx1844 Jun 12, 2026
55ce1fb
Update app.py
alesanchezr Nov 1, 2024
a23357e
Update app.py
alesanchezr Nov 4, 2024
e211cb6
original version
rosinni Feb 6, 2025
0017d0f
front end working with vite
rosinni Feb 6, 2025
ae79c81
created learn.json
rosinni Feb 11, 2025
4f9c5b2
Update learn.json
rosinni Feb 11, 2025
c41af92
update
rosinni Feb 11, 2025
258e474
update preview
rosinni Feb 11, 2025
d6ab755
update preview
rosinni Feb 11, 2025
b986ae7
Update learn.json
rosinni Feb 12, 2025
a740758
Update README.es.md
rosinni Feb 18, 2025
9695210
Update README.es.md
rosinni Feb 18, 2025
6488fef
Update README.md
rosinni Feb 18, 2025
ee6f6e9
Update README.md
rosinni Feb 18, 2025
48b876e
Update README.es.md
rosinni Feb 18, 2025
6c422ed
Update README.es.md
rosinni Feb 18, 2025
2e518cb
Update README.md
rosinni Feb 18, 2025
26c45a0
Update README.md
rosinni Feb 18, 2025
18ae95a
Update README.es.md
rosinni Feb 18, 2025
bed451f
Update README.es.md
rosinni Feb 18, 2025
e613772
Update README.es.md
rosinni Feb 18, 2025
1402be6
Update README.md
rosinni Feb 18, 2025
833afa6
Update package.json
rosinni Feb 19, 2025
9e35aba
update sqlalchemy
rosinni Feb 19, 2025
cbffeef
feat: add BackendURL component and improve env variable handling
monkeyjp Feb 20, 2025
8e88620
Update Footer.jsx
rosinni Feb 20, 2025
7e1a669
Update README.es.md
alesanchezr Feb 20, 2025
71ecc73
update models.py
rosinni Feb 21, 2025
15c1088
update env-file.png
rosinni Feb 21, 2025
03f2065
Add backend message loading to Home component and update environment …
SamuelCarmona83 Feb 21, 2025
ad015fa
update loadMessage function
rosinni Feb 21, 2025
e90598a
Added autopep8 and prettier to template.
dotfortun Feb 8, 2025
265a4a9
update python version
rosinni Feb 25, 2025
1869e72
update devcontainer
rosinni Feb 25, 2025
7598ec2
static route update in app.py
deimianvasquez May 28, 2025
d374e3e
Update docker-compose.yml
alesanchezr Oct 24, 2025
158b963
fix: now admin displays relationships and allows
jseiglie Oct 31, 2025
2435f8c
feat: creadas las vistas y componentes del registro de usuario y empresa
vlx1844 Jun 9, 2026
792a947
feat: crear modelo Empresa
albertooliveira-ia Jun 10, 2026
5196240
feat: agregar endpoint de registro de empresas y configurar bcrypt
albertooliveira-ia Jun 10, 2026
425aac7
feat: implementar registro empresas, bcrypt, CORS y migraciones
albertooliveira-ia Jun 14, 2026
28f26c2
feat: añadir modelo Empresa y migración
albertooliveira-ia Jun 14, 2026
200ca34
feat: implementar registro de empresas con éxito y validación de endp…
albertooliveira-ia Jun 14, 2026
70f3272
fix: unificar cambios del equipo y restaurar mi implementación
albertooliveira-ia Jun 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions migrations/versions/c72890a65cc0_registro_empresa_final.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"""registro-empresa-final

Revision ID: c72890a65cc0
Revises: 0763d677d453
Create Date: 2026-06-14 09:50:20.036840

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'c72890a65cc0'
down_revision = '0763d677d453'
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('empresa',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('nombre_legal', sa.String(length=120), nullable=False),
sa.Column('cif_nif', sa.String(length=20), nullable=False),
sa.Column('email', sa.String(length=120), nullable=False),
sa.Column('password', sa.String(length=255), nullable=False),
sa.Column('is_active', sa.Boolean(), nullable=False),
sa.PrimaryKeyConstraint('id'),
sa.UniqueConstraint('cif_nif'),
sa.UniqueConstraint('email')
)
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('empresa')
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
"""Añadidos modelos de Company y Event

Revision ID: f54fe3d57be0
Revises: 0763d677d453
Create Date: 2026-06-12 18:01:19.961335

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'f54fe3d57be0'
down_revision = '0763d677d453'
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('company',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('email', sa.String(length=120), nullable=False),
sa.Column('password', sa.String(), nullable=False),
sa.PrimaryKeyConstraint('id'),
sa.UniqueConstraint('email')
)
op.create_table('event',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('title', sa.String(length=120), nullable=False),
sa.Column('description', sa.Text(), nullable=False),
sa.Column('date', sa.DateTime(), nullable=False),
sa.Column('location', sa.String(length=250), nullable=False),
sa.Column('price', sa.Float(), nullable=False),
sa.Column('capacity', sa.Integer(), nullable=False),
sa.Column('category', sa.String(length=80), nullable=False),
sa.Column('image_url', sa.String(length=500), nullable=True),
sa.Column('is_active', sa.Boolean(), nullable=False),
sa.Column('company_id', sa.Integer(), nullable=False),
sa.ForeignKeyConstraint(['company_id'], ['company.id'], ),
sa.PrimaryKeyConstraint('id')
)
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('event')
op.drop_table('company')
# ### end Alembic commands ###
Loading