The server for an indoor delivery system. The server will be used to manage mapping data and to control the indoor delivery system.
Create a .env-file and put in the following:
GITHUB_HOOK_SECRET=test
PORT=8000
Note: The GITHUB_HOOK_SECRET
is only needed for the production server. Contact the maintainer, if you want to make deployments.
Be sure to have at least the latest LTS of node installed. Then open a terminal and run:
npm install
npm start
Every model will additionally have a UUID, which will not be listed in the definition as it is common across all models.
This model describes a part of the map.
{
x: Number,
y: Number,
occupied: Number,
scanned: Number,
reference: UUID
}
The latitude and the longitude fix the according chunks in space. The robot is initially calibrated to north and can derive its position from the movement.
{
name: String,
latitude: Number,
longitude: Number
}