Repository structure - mathcoll/t6 GitHub Wiki

Folder Explanation
/.github
/.settings
/bin All binary (and other) files that helps t6 to manage its builds
/data This folder contains the json databases for resources and settings
/docs The folder made for the technical Api documentation
/error A custom error page not fully necessary, depending on your server settings
/etc The linux service start point
/public Javascripts, fonts, styles, and images used in the UI. Root for Cdn
/routes All the routes for the Apis, each resource is having its own file
/sensors Some sample virtual sensors that connect to Api
/serializers File configuration to make sure Resources are consistent
/sessions Session file folder ; this is a temporary folder that can be cleaned regularly
/test For testing :-)
/views The template pages for the UI

The following files are also provided by t6:

Files Explanation
/etc/init.d/t6 The linux service file for t6
/bin/www The file that run the server on top of app.js
/app.js This is the mail server application. it loads the routes for the UI and Api
/t6BuildVersion.json Autogenerated file containing the information about latest UI build version
/t6console.js Server log engine
/t6decisionrules.js Decision Rule engine to handle actions
/t6events.js GA4 connexion and internal log events from the server
/t6imagesprocessing.js Image Preprocessor and Face detection
/t6jobs.js Library to manage asynchronous actions on server
/t6mailer.js The library to handle emailing
/t6mqtt.js Messaging queue to Mqtt
/t6notifications.js WebPush and FCM notifications
/t6otahistory.js Over The Air (OTA) library
/t6preprocessor.js Preprocessor & Sensor Data Fusion