Initial commit: ICE Watch Michigan community safety tool

- Node.js/Express backend with SQLite database
- Interactive map with real-time location tracking
- MapBox API integration for fast geocoding
- Admin panel for content moderation
- 24-hour auto-expiring reports
- Deployment scripts for Debian 12 ARM64
- Caddy reverse proxy with automatic HTTPS
This commit is contained in:
Deco Vander 2025-07-02 23:27:22 -04:00
commit edfdeb5117
16 changed files with 5323 additions and 0 deletions

24
scripts/icewatch.service Normal file
View file

@ -0,0 +1,24 @@
[Unit]
Description=ICE Watch Michigan - Community Safety Tool
After=network.target
Wants=network.target
[Service]
Type=simple
User=icewatch
Group=icewatch
WorkingDirectory=/opt/icewatch
ExecStart=/usr/bin/node server.js
Restart=always
RestartSec=5
Environment=NODE_ENV=production
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/icewatch
[Install]
WantedBy=multi-user.target