Scalable IoT solution for real-time body position data
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Haris Razis ff45cebd69 Add Navbar.vue 4 years ago
.github/workflows Create codeql-analysis.yml 4 years ago
.idea Auto stash before revert of " Add Athlete model and correlation to trainer" 4 years ago
client 🔁 Update dependencies & remove unused items 4 years ago
server 🔑 Fix getCurrentUser in web 4 years ago
web Add Navbar.vue 4 years ago
.gitignore 🔁 Update dependencies & remove unused items 4 years ago
README.md 📜 Update README.md 4 years ago
docker-compose.yml Remove influxdb.conf 4 years ago

README.md

Ichnaea

About

Ichnaea was the goddess of tracing and tracking.

Ichnaea is an IoT solution that collects and analyzes body position data from an athlete in real-time.

Installation

Clone the project:

git clone git@github.com:xrazis/ichnaea.git

Run in Docker

First make sure you have the docker service and docker-compose installed

docker-compose up --detach

Server endpoints

Authentication

POST /auth/login

If the user exists in the DB, a new session is initiated. Else if the user is not registered, user is saved then a new session initiates.

POST /auth/logout

Logouts current user.

GET /auth/current_user

Returns current user.

API

Athletes

GET /api/athletes

Returns an array of athletes objects.

GET /api/athlete/{user._id}

Returns an athlete object for a given _id.

GET || PUT /api/athlete/{user._id}/edit

Edits an athlete matching the given _id.

DELETE /api/athlete/{user._id}

Deletes an athlete matching the given _id.

Data

GET /api/data

Returns all data in the specified time range.

GET /api/data/{user._id}

Returns all data for a given user _id, in the specified time range.