Skip to content

A Node.js server for the final project of the computer engineering course of IPLeiria

License

Notifications You must be signed in to change notification settings

freakstatic/vapi-server

Repository files navigation

VAPi Server

This project uses Motion to detect movement and to save a picture of that movement. Then receives, by websocket, the node-object-detection (Yolo) analysis with the objects detected in that picture. This information is saved in the database so it can be displayed to the user on the angular web interface.

Prerequisites

Getting started

Run MariaDB docker container

docker-compose -f mariadb/docker-compose.yml up -d

Run angular in development

cd angular
npm install
npm start	

Run Node.js server

npm install
npm start

Deployment

Run MariaDB docker container

docker-compose -f mariadb/docker-compose.yml up -d

Build angular files for deployment

cd angular && npm install && npm run deploy

Run Node.js server

npm install
npm start

Config Files

Database configurations

ormconfig.json

Geral configurations

config.json

Motion configurations

motion/motion.conf

About

A Node.js server for the final project of the computer engineering course of IPLeiria

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published