Ocean Hazard Reporting & Monitoring Platform for INCOIS
Tarang is a comprehensive disaster management platform designed to facilitate real-time hazard reporting, resource management, and emergency response coordination. It empowers citizens, authorities, NGOs, and responders to collaborate effectively during crises.
npm install -g firebase-tools)Clone the repository
git clone https://github.com/SRG2004/Tarang-Hazard-Response-Platform.git
cd Tarang-Hazard-Response-Platform
Install Frontend Dependencies
npm install
Install Backend Dependencies
cd functions
npm install
cd ..
Create a .env file in the root directory with your Firebase configuration:
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_FIREBASE_MEASUREMENT_ID=your_measurement_id
VITE_FIREBASE_VAPID_KEY=your_vapid_key
VITE_GEMINI_API_KEY=your_gemini_api_key
For Firebase Admin SDK to work locally or deploy functions correctly:
service-account-key.json inside the functions/ directory.
npm run dev
The app will be available at http://localhost:5173.
To test Cloud Functions and Firestore locally:
firebase emulators:start
To deploy the entire application (Frontend + Backend) to Firebase:
npm run deploy
This command builds the frontend (npm run build) and deploys hosting, functions, and rules to your Firebase project.
34 commits
TypeScript
73.9%
JavaScript
24.6%
CSS
1.3%
Ocean Hazard Reporting & Monitoring Platform for INCOIS
Tarang is a comprehensive disaster management platform designed to facilitate real-time hazard reporting, resource management, and emergency response coordination. It empowers citizens, authorities, NGOs, and responders to collaborate effectively during crises.
npm install -g firebase-tools)Clone the repository
git clone https://github.com/SRG2004/Tarang-Hazard-Response-Platform.git
cd Tarang-Hazard-Response-Platform
Install Frontend Dependencies
npm install
Install Backend Dependencies
cd functions
npm install
cd ..
Create a .env file in the root directory with your Firebase configuration:
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_FIREBASE_MEASUREMENT_ID=your_measurement_id
VITE_FIREBASE_VAPID_KEY=your_vapid_key
VITE_GEMINI_API_KEY=your_gemini_api_key
For Firebase Admin SDK to work locally or deploy functions correctly:
service-account-key.json inside the functions/ directory.
npm run dev
The app will be available at http://localhost:5173.
To test Cloud Functions and Firestore locally:
firebase emulators:start
To deploy the entire application (Frontend + Backend) to Firebase:
npm run deploy
This command builds the frontend (npm run build) and deploys hosting, functions, and rules to your Firebase project.
34 commits
TypeScript
73.9%
JavaScript
24.6%
CSS
1.3%