Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [main, portfolio-audit]
pull_request:

permissions:
contents: read

jobs:
chat-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: chat_app
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: chat_app/package-lock.json
- run: npm ci
- run: npm test
7 changes: 6 additions & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,20 @@ Colección de pequeños proyectos para navegador y Node.js con los que practicar
Para proyectos de navegador, abre su `index.html` o sirve el repositorio:

```bash
python3 -m http.server 8000
python3 -m http.server 8000 --bind 127.0.0.1
```

Para el prototipo de chat:

```bash
cd chat_app
npm ci
npm test
node server.js
```

El chat escucha en `127.0.0.1:3000`. Sus pruebas automáticas cubren archivos estáticos desde otro directorio, rutas inexistentes/privadas y entrega de mensajes entre dos clientes locales. GitHub Actions ejecuta estas pruebas con Node.js 22. Este prototipo no tiene autenticación, persistencia ni protección para ofrecer un servicio público.

## Seguridad y privacidad

Los proyectos de inicio de sesión o mensajería son ejemplos educativos locales. No deben recopilar credenciales reales ni desplegarse como sistemas de autenticación. Las dependencias se instalan desde el archivo de bloqueo y no se guardan en Git.
Expand All @@ -36,6 +39,8 @@ Los proyectos de inicio de sesión o mensajería son ejemplos educativos locales

Es un archivo de ejercicios pequeños, no una única aplicación de producción. Los proyectos más sólidos podrán separarse después en repositorios independientes con pruebas e instrucciones de despliegue.

`proyecto_marvel/` queda excluido de los proyectos seleccionados hasta verificar la procedencia de `marvel.jpg`. La imagen se conserva sin cambios y no queda cubierta por una licencia del repositorio.

## Licencia

No se ha seleccionado una licencia global.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A collection of small browser and Node.js projects used to practise interface be
Open its `index.html` directly, or serve the repository locally:

```bash
python3 -m http.server 8000
python3 -m http.server 8000 --bind 127.0.0.1
```

Then visit `http://localhost:8000`.
Expand All @@ -27,9 +27,12 @@ Then visit `http://localhost:8000`.
```bash
cd chat_app
npm ci
npm test
node server.js
```

The chat listens on `127.0.0.1:3000`. Its automated tests cover static files from a different working directory, missing/private paths, and message delivery between two local clients. GitHub Actions runs these tests with Node.js 22. This prototype has no authentication, persistence, or public-service hardening.

## Security and privacy

Projects named as login or messaging demonstrations are local educational examples. Do not collect real credentials or deploy them as authentication systems. Dependencies are installed from the lockfile and are not committed to the repository.
Expand All @@ -38,6 +41,8 @@ Projects named as login or messaging demonstrations are local educational exampl

This is an archive of small exercises rather than a single production application. The strongest projects may later be extracted into focused repositories with tests and deployment instructions.

`proyecto_marvel/` is excluded from selected work until the provenance of `marvel.jpg` is verified. The image is retained unchanged and is not covered by a repository license.

## License

No repository-wide license has been selected.
Loading
Loading