Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexInABox committed Jan 22, 2024
1 parent fa9b85f commit 92c2e11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ class location {
update() { }
}
module.exports = location;
//We open a server to listen for POST requests which contain the location of the user in their body stored in the "lon" and "lat" variables.
//The aproach here is to use a mobile app like "OwnTracks" to send the location of the user to us the server via HTTP POST requests.


const express = require('express');
const app = express();
Expand Down

0 comments on commit 92c2e11

Please sign in to comment.