This project is an assignment for the Software Architecture course following these requirements.
More information about how this project has been setup is available in the wiki.
Remember to add https://arquisoft.github.io to your trusted apps in SOLID (Read, Append, Write and Control).
In case you experiment any error related to ACLs, it is SOLID stuff, please create a new POD to test all the functionalities of our application.
The documentation is available here.
This project was generated using Create React App.
In order to run this project, you will need to follow these steps:
We recommend to install ruby using RubyInstaller
Install asciidoctor
gem install asciidoctor-diagram
In windows issue this command using the terminal provided by RubyInstaller. In linux
sudo
may be needed, depending on the installation.
Run
npm install
to have all the dependencies needed.
Execute
npm run docs
to generate the html documents and dependencies (all the documents will be stored in /build/docs
).
If you want to test the application in your local machine, you will need run a development server in your machine.
npm start
.http://localhost:3000/viade_en1b
.Remember to add http://localhost:3000 to your trusted apps in SOLID (Read, Write, Append, Control).
If you want to build the application you need to run npm run build
and all the files will be stored in /build
.
If you have any development server running, close it please, because tests need the port 3000 in order to run.
To execute the unit tests, you need to run npm test
.
This tests have been created using Jest.
First of all run npm start
and then run npm run cucumber
.
First of all you need to run the development server with npm start
.
In Windows, you must run the following commands:
mkdir .\reports\load-testing
(only the first time)npx artillery run ./load-testing/dashboard.yml -o .\reports\load-testing\reportName.json
npx artillery report ./reports/load-testing/report.json -o .\reports\load-testing\reportName.html
The report will be in /reports/load-testing
. Enjoy it!
In Linux, it is as simple as doing:
npm run artillery-linux
Then the report will be in /reports/load-testing
. Enjoy it!
This tests have been created using Artillery.
In order to use our Dockerized application, you must to have Docker installed on your computer. Once that's done, you have to follow these steps:
Open a command prompt.
Set yourself on the root directory of our cloned repo
Type the following command:
docker build -t viadeapp
docker run -p 80:3000 viadeapp
Now, the only thing you have to do is to go to your favourite web browser, and browse to: http://localhost and you will be served with the Viade app!
To get more help on the React use npm help
or go to their main webpage.
We are concerned about every kind of users, specially color blind people.
Regarding this fact, we have included a functionality to change in runtime the theme of our application in order to solve the three main color blindnesses:
In Chrome you can check it using this plugin.
Currently, our application is internationalized for English and Spanish.
This have been done using React Intl.
If you want to know about how to use our application, you can go to our user manual.