sakthivikram/geo-location
0
1package com.georeport;2 3import org.springframework.boot.SpringApplication;4import org.springframework.boot.autoconfigure.SpringBootApplication;5 6/**7 * Main entry point for the Geo-Based Public Issue Reporting System.8 * 9 * This application provides a real-time, location-aware platform for citizens10 * to report public infrastructure issues such as road damage, water leakage,11 * garbage overflow, and sanitation failures.12 * 13 * Features:14 * - Geospatial issue reporting with map-based location selection15 * - Real-time status updates via WebSocket16 * - JWT-based authentication17 * - Role-based access control (Citizen, Admin)18 * - PostGIS-powered spatial queries19 * 20 * @author GeoReport Team21 * @version 1.0.022 */23@SpringBootApplication24public class GeoReportApplication {25 26 @jakarta.annotation.PostConstruct27 public void init() {28 // Set JVM timezone to IST to fix timestamp issues (e.g., 5hrs ago)29 java.util.TimeZone.setDefault(java.util.TimeZone.getTimeZone("Asia/Kolkata"));30 }31 32 public static void main(String[] args) {33 SpringApplication.run(GeoReportApplication.class, args);34 System.out.println("==============================================");35 System.out.println(" Geo-Based Issue Reporting System Started!");36 System.out.println("==============================================");37 }38}39 