generated from Arquisoft/dede_0
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from Arquisoft/develop
Despliegue + tests
- Loading branch information
Showing
84 changed files
with
11,952 additions
and
2,728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Despliegue en Heroku (rama de desarrollo) | ||
|
||
on: | ||
push: | ||
branches: [ uo271411-pruebas-heroku ] | ||
pull_request: | ||
branches: [ uo271411-pruebas-heroku ] | ||
|
||
jobs: | ||
heroku-restapi: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] # This is the action | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: "dede-es3a-restapi" #Must be unique in Heroku | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
usedocker: true | ||
appdir: "restapi" # <- This will point to the api folder in your project | ||
branch: "uo271411-pruebas-heroku" | ||
|
||
heroku-webapp: | ||
needs: [heroku-restapi] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: akhileshns/[email protected] # This is the action | ||
with: | ||
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | ||
heroku_app_name: "dede-es3a" #Must be unique in Heroku | ||
heroku_email: ${{secrets.HEROKU_EMAIL}} | ||
usedocker: true | ||
appdir: "webapp" # <- This will point to the api folder in your project | ||
branch: "uo271411-pruebas-heroku" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,33 @@ | ||
[[section-system-scope-and-context]] | ||
== Alcance y Contexto del Sistema | ||
|
||
[role="arc42help"] | ||
**** | ||
.Contents | ||
System scope and context - as the name suggests - delimits your system (i.e. your scope) from all its communication partners | ||
(neighboring systems and users, i.e. the context of your system). It thereby specifies the external interfaces. | ||
If necessary, differentiate the business context (domain specific inputs and outputs) from the technical context (channels, protocols, hardware). | ||
.Motivation | ||
The domain interfaces and technical interfaces to communication partners are among your system's most critical aspects. Make sure that you completely understand them. | ||
.Form | ||
Various options: | ||
* Context diagrams | ||
* Lists of communication partners and their interfaces. | ||
**** | ||
|
||
|
||
=== Contexto de negocio | ||
|
||
[role="arc42help"] | ||
**** | ||
.Contents | ||
Specification of *all* communication partners (users, IT-systems, ...) with explanations of domain specific inputs and outputs or interfaces. | ||
Optionally you can add domain specific formats or communication protocols. | ||
.Motivation | ||
All stakeholders should understand which data are exchanged with the environment of the system. | ||
.Form | ||
All kinds of diagrams that show the system as a black box and specify the domain interfaces to communication partners. | ||
Alternatively (or additionally) you can use a table. | ||
The title of the table is the name of your system, the three columns contain the name of the communication partner, the inputs, and the outputs. | ||
**** | ||
image:03_diagramaContextoNegocio.png["Diagrama de contexto"] | ||
|
||
* **Cliente** | ||
|
||
Usuarios finales de la aplicación. Son los clientes que van a realizar las compras. | ||
Usuarios finales de la aplicación. Son los clientes que van a realizar las compras. | ||
|
||
* **Administrador** | ||
|
||
Usuario que va a poder gestionar la aplicación: dar de alta productos, actualizar los stocks, revisar los pedidos, etc. | ||
Usuario que va a poder gestionar la aplicación: dar de alta productos, actualizar los stocks, revisar los pedidos, etc. | ||
|
||
* **DeDe** | ||
|
||
Nuestro sistema de venta online (Decentralized Delivery) | ||
Nuestro sistema de venta online (Decentralized Delivery) | ||
|
||
* **Base de datos** | ||
|
||
Se guardará aquí toda la información necesaria para el funcionamiento de la aplciación: pedidos de los usuarios, productos, etc. | ||
Se guardará aquí toda la información necesaria para el funcionamiento de la aplciación: pedidos de los usuarios, productos, etc. | ||
|
||
* **POD** | ||
|
||
El sistema se conectará con el POD del usuario para obtener los datos de su dirección, ya que por privacidad no se almacenarán estos datos en nuestra aplicación. | ||
El sistema se conectará con el POD del usuario para obtener los datos de su dirección, ya que por privacidad no se almacenarán estos datos en nuestra aplicación. | ||
|
||
* **Empresas de Mensajería** | ||
|
||
Nuestro sistema se conectará con diferentes empresas de mensajería para poder calcular los costes de envío de los pedidos. | ||
Nuestro sistema se conectará con diferentes empresas de mensajería para poder calcular los costes de envío de los pedidos. | ||
|
||
=== Contexto técnico | ||
|
||
[role="arc42help"] | ||
**** | ||
.Contents | ||
Technical interfaces (channels and transmission media) linking your system to its environment. In addition a mapping of domain specific input/output to the channels, i.e. an explanation with I/O uses which channel. | ||
.Motivation | ||
Many stakeholders make architectural decision based on the technical interfaces between the system and its context. Especially infrastructure or hardware designers decide these technical interfaces. | ||
.Form | ||
E.g. UML deployment diagram describing channels to neighboring systems, | ||
together with a mapping table showing the relationships between channels and input/output. | ||
**** | ||
|
||
Pendiente | ||
Nuestra tienda DeDe se debe cumplir los principios SOLID de descentralizacion de datos personales mediante el almacenamiento de estos en PODs independientes para cada usuario, el proveedor de PODs para DeDe será Inrupt. El front-end estara desarrollado mediante el framework React implementando componentes ya desarrollados o bien creados por nosotros mismos,el lenguaje para el desarrollo de las diversas funcionalidades de las pantallas sera TypeScript. Por la parte del back-end, nuestro SGDB es Mongo.db y mediante Node.js express realizaremos todas las transacciones a la base de datos, en la misma almacenaremos los datos de los productos y de los usuarios registrados en DeDe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.