meshtastic-mqtt-dashboard/
│
├── src/                                  # Backend source code
│   ├── auth/
│   │   └── auth.js                      # User authentication & authorization
│   │
│   ├── config/
│   │   └── config.js                    # Application configuration
│   │
│   ├── database/
│   │   ├── db.js                        # SQLite database setup
│   │   └── queries.js                   # Database query definitions
│   │
│   ├── mqtt/
│   │   └── client.js                    # MQTT client & message handlers
│   │
│   ├── routes/
│   │   └── api.js                       # REST API endpoints
│   │
│   ├── scripts/
│   │   └── createUser.js                # CLI tool to create users
│   │
│   ├── services/
│   │   └── cron.js                      # Background job scheduler
│   │
│   ├── utils/
│   │   └── logger.js                    # Winston logging utility
│   │
│   └── server.js                        # Main application entry point
│
├── public/                               # Frontend static files
│   ├── css/
│   │   └── style.css                    # Modern UI stylesheet
│   │
│   ├── js/
│   │   └── app.js                       # Frontend JavaScript application
│   │
│   └── index.html                       # Single Page Application HTML
│
├── data/                                 # Database storage (auto-created)
│   └── meshtastic.db                    # SQLite database file
│
├── logs/                                 # Application logs (auto-created)
│   ├── combined.log                     # All logs
│   └── error.log                        # Error logs only
│
├── .env                                  # Environment configuration (create from .env.example)
├── .env.example                          # Environment template
├── .gitignore                            # Git ignore rules
├── package.json                          # NPM dependencies & scripts
├── README.md                             # Complete documentation
├── QUICKSTART.md                         # Quick start guide
├── PROJECT_SUMMARY.md                    # Project overview
└── STRUCTURE.txt                         # This file - directory structure

