generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/Arquisoft/wiq_en3a into …
…documentation_ángel
- Loading branch information
Showing
16 changed files
with
811 additions
and
98 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 @@ | ||
{} |
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,21 +1,27 @@ | ||
# wiq_en3a | ||
|
||
Members: | ||
- Sergio Truébano Robles -> [email protected] | ||
- Pedro Limeres Granado -> [email protected] | ||
- Alberto Guerra Rodas -> [email protected] | ||
- Ángel Macías Rodríguez -> [email protected] | ||
- Rita Fernández-Catuxo Ortiz -> [email protected] | ||
- Vira Terletska -> [email protected] | ||
- Sergio Llenderrozos Piñera -> [email protected] | ||
## Welcome to WIQ👩🎓👨🎓 | ||
|
||
The WIQ is a web application where you can show off your knowledge. | ||
|
||
Creat an account or log in if you are already a member and start the engaging quiz! | ||
Enjoy the variaty of questions, which are automatically generated from a vast pool of data available in Wikidata🌎. Each question offers multiple-choice options, including correct answer and several distractors🔍. Choose a right answer and win the prize🏆. Stay sharp and focused, there are also the time limits, --> the clock is ticking🕐 ⏳. | ||
|
||
|
||
The more you know the more you win 🥇! | ||
Play with your friends and compare the scores. Who is the smartest❓ | ||
|
||
🤓Let the game begin!👀🧠 | ||
|
||
|
||
|
||
[![Deploy on release](https://github.com/Arquisoft/wiq_en3a/actions/workflows/release.yml/badge.svg)](https://github.com/Arquisoft/wiq_en3a/actions/workflows/release.yml) | ||
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_en3a&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_en3a) | ||
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_en3a&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_en3a) | ||
|
||
This is a base repo for the [Software Architecture course](http://arquisoft.github.io/) in [2023/2024 edition](https://arquisoft.github.io/course2324.html). | ||
|
||
This repo is a basic application composed of several components. | ||
➡This repo is a basic application composed of several components. | ||
|
||
- **Gateway service**. Express service that is exposed to the public and serves as a proxy to the two previous ones. | ||
- **User service**. Express service that handles the insertion of new users in the system. | ||
|
@@ -24,7 +30,7 @@ This repo is a basic application composed of several components. | |
|
||
Both the user and auth service share a Mongo database that is accessed with mongoose. | ||
|
||
## Quick start guide | ||
## Quick start guide 🏁 | ||
|
||
### Using docker | ||
|
||
|
@@ -40,7 +46,7 @@ and launch it with docker compose: | |
docker compose --profile dev up --build | ||
``` | ||
|
||
### Starting Component by component | ||
### Starting Component by component🔍 | ||
|
||
First, start the database. Either install and run Mongo or run it using docker: | ||
|
||
|
@@ -54,7 +60,7 @@ Lastly, go to the webapp directory and launch this component with `npm install` | |
|
||
After all the components are launched, the app should be available in localhost in port 3000. | ||
|
||
## Deployment | ||
## Deployment➡ | ||
|
||
For the deployment, we have several options. | ||
|
||
|
@@ -64,7 +70,7 @@ Other options include using the container services that most cloud services prov | |
|
||
We are going to use the first approach, creating a virtual machine in a cloud service and after installing docker and docker-compose, deploy our containers there using GitHub Actions and SSH. | ||
|
||
### Machine requirements for deployment | ||
### Machine requirements for deployment✅ | ||
|
||
The machine for deployment can be created in services like Microsoft Azure or Amazon AWS. These are in general the settings that it must have: | ||
|
||
|
@@ -86,7 +92,7 @@ sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker- | |
sudo chmod +x /usr/local/bin/docker-compose | ||
``` | ||
|
||
### Continuous delivery (GitHub Actions) | ||
### Continuous delivery (GitHub Actions)🐱👤 | ||
|
||
Once we have our machine ready, we could deploy by hand the application, taking our docker-compose file and executing it in the remote machine. | ||
|
||
|
@@ -121,3 +127,13 @@ This action uses three secrets that must be configured in the repository: | |
- DEPLOY_KEY: key to authenticate the user in the remote machine. | ||
Note that this action logs in the remote machine and downloads the docker-compose file from the repository and launches it. Obviously, previous actions have been executed which have uploaded the docker images to the GitHub Packages repository. | ||
## 👩💻Members: | ||
- Sergio Truébano Robles -> [email protected] | ||
- Pedro Limeres Granado -> [email protected] | ||
- Alberto Guerra Rodas -> [email protected] | ||
- Ángel Macías Rodríguez -> [email protected] | ||
- Rita Fernández-Catuxo Ortiz -> [email protected] | ||
- Vira Terletska -> [email protected] | ||
- Sergio Llenderrozos Piñera -> [email protected] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.