Skip to content

Commit

Permalink
Merge pull request #95 from Arquisoft/develop
Browse files Browse the repository at this point in the history
Versión 1.0
  • Loading branch information
paulasuarezp authored Apr 10, 2023
2 parents 981ad2a + 6dbf379 commit 66aacab
Show file tree
Hide file tree
Showing 95 changed files with 28,108 additions and 12,041 deletions.
35 changes: 10 additions & 25 deletions .github/workflows/lomap_es2c.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,31 @@
name: CI for LOMAP ES2C

on:
push:
branches:
- develop
release:
types: [published]

jobs:
unit-test-webapp:
unit-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: webapp
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test --coverage --watchAll
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
unit-test-restapi:
runs-on: ubuntu-latest
defaults:
run:
working-directory: restapi
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test --coverage --watchAll
- run: npm --prefix webapp ci
- run: npm --prefix restapi ci
- run: npm --prefix webapp test --coverage --watchAll
- run: npm --prefix restapi test --coverage --watchAll
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
e2e-tests:
needs: [unit-test-webapp, unit-test-restapi]
needs: [unit-tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -98,4 +83,4 @@ jobs:
# docker-compose stop
# docker-compose rm -f
# docker-compose pull
# docker-compose up -d
# docker-compose up -d
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/lomap_es2c.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/lomapbueno.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ After the actions process is finished, we can access the application using the I

## Miembros del equipo
- Abel Busto Dopazo, UO284262
- Juan Esteban Perilla Torres, UO298891
- Adrián Fernández Álvarez, UO282154
- Juan Hermosa Casaprima, UO276839
- Guillermo Pulido Fernández, UO282716
- Paula Suárez Prieto, UO269745
15 changes: 15 additions & 0 deletions docs/09_design_decisions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,19 @@ En la siguiente tabla, ordenadas por prioridad, se encuentran las decisiones arq
| No soporta transacciones complejas.
| https://github.com/Arquisoft/lomap_es2c/wiki/00.-Decisiones-arquitect%C3%B3nicas#da-02-elecci%C3%B3n-de-la-base-de-datos[DA-02]

| *Leaflet*
| Leaflet es una biblioteca de JS open source utilizada para crear mapas interactivos y personalizarlos.
| Presenta limitaciones en funcionalidades avanzadas.
| https://github.com/Arquisoft/lomap_es2c/wiki/00.-Decisiones-arquitect%C3%B3nicas#da-06-cambio-en-la-elecci%C3%B3n-del-proveedor-de-mapas[DA-06]

| *JSON-LD*
| Es una forma de representar datos JSON que se integra con otros formatos como RFD y Schema.org
| Su implementación puede requerir un mayor esfuerzo en comparación con otros métodos de marcado.
| https://github.com/Arquisoft/lomap_es2c/wiki/00.-Decisiones-arquitect%C3%B3nicas#da-09-formato-de-archivos[DA-09]

| *Redux*
| Esta biblioteca permite centralizar el estado de la aplicación y compartirlo entre los componentes que se suscriban a él de manera sencilla.
| Puede agregar complejidad a la aplicación web.
| https://github.com/Arquisoft/lomap_es2c/wiki/00.-Decisiones-arquitect%C3%B3nicas#da-08-redux[DA-08]

|===
2 changes: 1 addition & 1 deletion docs/appendix_1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ A table with columns <Library> and <Definition>.
[options="header",cols="1,2"]
|===
|Librería|Explicación
| moongose | Librería que facilita la integración de una base de datos MongoDB y Node.js
| mongoose | Librería que facilita la integración de una base de datos MongoDB y Node.js
|===
163 changes: 162 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"dependencies": {
"uuid": "^9.0.0"
"@hookform/resolvers": "^2.9.11",
"uuid": "^9.0.0",
"yup": "^1.0.2"
}
}
Loading

0 comments on commit 66aacab

Please sign in to comment.