Deepak Ramalingam
To view the API endpoints, open the "API.json" file in Postman.
Run the following in Mongo Shell to create GeoSpatial indices
db.fire_devices.ensureIndex({location:"2dsphere"});
- PORT (optional variable to specify port)
- DB_URI (URI of MongoDB Atlas instance)
- JWT_SECRET (32 or 64 length string of random characters)
- FIREBASE_ADMIN_SDK (stringified version of Firebase Admin SDK JSON content)
- FCM_SERVER_KEY (cloud messaging server key)
- FCM_SENDER_ID (cloud messaging sender id)
mvn spring-boot:run