Skip to content

alya-mirror/asm-backend

Repository files navigation

asm-backend

The backend for alya-smart-mirror

Getting Started

For using alya-smart-mirror you have to run the backend in the raspberry pi of the mirror or in any device connected to the same gatway as the app and Alya .

  • Perquisites :

1-mongodb : make sure you have mongodb and run 'mongod' in the terimnal

2-AWS IoT : make sure you have configured AWS IoT as shown here.

  • usage :

download the project then do the following commands :

$ npm install 
$ node index.js

Technical details

The backend provide the communication between the mirror and the app and it also handle the data management for the users , user addons and for the addons settings.

  • General scenario

screenshot at mar 04 17-22-21

  • All detailed scenario here

Services Used

The backend is built on nodejs and it uses some services such as mongodb for handling the database and bcrypt for password encryption . For the communication we are using HTTP endpoints , socket and aws mqtt as in the picture below : tech design

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published