Skip to content

Commit

Permalink
Gcloud (parte grupal) y revision de API - rubromgui
Browse files Browse the repository at this point in the history
  • Loading branch information
rubromgui committed Feb 23, 2024
1 parent 02d98f7 commit 383e61a
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Node.js dependencies:
node_modules/
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# SOS2324-13

Version inicial
- **Team**
- [Aaron López Leal](https://github.com/aaronlopezleal)
- [Rubén Romero Guisado](https://github.com/rubromgui)
- [Antonio López Barrios](https://github.com/antlopbar)
- **Project description**: Our information sources are aimed at analyzing if there is a relationship between the risk of natural disasters by country, salaries and the most common mental problems.
- **Repository**: [gti-sos/SOS2324-13](https://github.com/gti-sos/SOS2324-13)
- **URL**: TBD
- **APIs**:
- RRG: https://sos2324-13.ew.r.appspot.com/samples/RRG
- TBD
- TBD
1 change: 1 addition & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
runtime: nodejs18
34 changes: 34 additions & 0 deletions home/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<html>
<body>
<h1>SOS2324-13</h1>
<h3>Team</h3>
<p>
<a href="https://github.com/aaronlopezleal">Aaron López Leal</a>
<br>
<a href="https://github.com/rubromgui">Rubén Romero Guisado</a>
<br>
<a href="https://github.com/antlopbar">Antonio López Barrios</a>
</p>

<h3>Project description</h3>
<p>
Our information sources are aimed at analyzing if there is a relationship between the risk of natural disasters by country, salaries and the most common mental problems.
</p>
<h3>Repository</h3>
<p>
<a href="https://github.com/gti-sos/SOS2324-13">gti-sos/SOS2324-13</a>
</p>

<h3>URL</h3>
<p>TBD</p>

<h3>APIs</h3>
<p>
- RRG: <a href="https://sos2324-13.ew.r.appspot.com/samples/RRG">https://sos2324-13.ew.r.appspot.com/samples/RRG</a>
<br>
- TBD:
<br>
- TBD:
</p>
</body>
</html>
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ let rubromguiAPI = require("./samples/RRG");
let app = express();

app.use(bodyParser.json());
app.use("/", express.static("./public"));

// Esto va dentro de cada api personal: vaconst API_BASE = "/samples";
//Llamada a APIs de los integrantes del grupo
Expand All @@ -22,9 +21,7 @@ app.listen(PORT);
console.log(`Server listening on port ${PORT}.`);

// Ruta raíz "/"
app.get("/", (req,res)=>{
res.send("<html><body><h1>Proyecto SOS2324-13</h1></body></html>");
});
app.use("/", express.static("./home"));

// Ruta "/cool"
app.get("/cool", (req,res)=>{
Expand Down

0 comments on commit 383e61a

Please sign in to comment.