ffdb644700fc11f88b898f2e3ae95e565a2cf64b16206b3bc96e05e624b2e887
				
			
			
		
	LocationHub
TODO
Setup
Prerequisites
- Node.js >= 22.11.0
- Maria DB >= 11.6.2
Database
Change name of database and credentials as you like!
- Create new database: CREATE DATABASE dev_locationhub;
- Create new user for database: GRANT ALL PRIVILEGES ON dev_locationhub.* TO 'dbuser'@'localhost' IDENTIFIED BY '1234';
- Import tables: /usr/bin/mariadb -u dbuser -p1234 dev_locationhub < server/sql/tables.sql
Testing Webhook
- To test the webhook use the python script ttn-webhook-dummy.pyto send prerecorded TTN Uplinks.
- To test the script you can use while true; do echo -e "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\nSuccess"; nc -l -p 8080 -q 1; done
Description
				Self-hosted backend for LoRaWAN-based location tracking, supporting multiple location providers such as GNSS, Gateway-Triangulation, WiFi-Triangulation, and BLE-Triangulation.
						
						
						
					Languages
				
				
								
								
									TypeScript
								
								54.3%
							
						
							
								
								
									JavaScript
								
								39.2%
							
						
							
								
								
									Python
								
								6.5%