Skip to content

chiragroy2007/forest-shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forest Shield 🌲

A real-time forest fire risk assessment application that monitors and analyzes weather conditions to predict potential fire hazards in forested regions worldwide.

Features 🔥

  • Real-time Risk Assessment: Analyzes current weather conditions to calculate fire risk levels
  • Interactive Map: Global map interface with color-coded risk indicators
  • Weather Data Integration: Comprehensive weather metrics including temperature, humidity, wind conditions
  • Risk Breakdown: Detailed analysis of various factors contributing to fire risk
  • News Section: Latest updates on forest fires from around the world
  • Responsive Design: Fully functional on both desktop and mobile devices

Tech Stack 💻

Frontend

  • React.js
  • Material-UI
  • Leaflet.js for maps
  • React Router for navigation

Backend

  • Node.js
  • Express.js
  • OpenWeatherMap API for weather data

Getting Started 🚀

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/forest-shield.git
cd forest-shield
  1. Install Frontend Dependencies
cd frontend
npm install
  1. Install Backend Dependencies
cd ../backend
npm install
  1. Environment Setup Create a .env file in the backend directory with your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_here
  1. Start the Application Backend:
cd backend
npm start

Frontend:

cd frontend
npm start

The application will be available at http://localhost:3000

Project Structure 📁

forest-shield/
├── frontend/              # React frontend
│   ├── public/           # Static files
│   └── src/              # Source files
├── backend/              # Node.js backend
│   ├── routes/          # API routes
│   └── server.js        # Server configuration
└── README.md

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments 👏

  • OpenWeatherMap API for weather data
  • Leaflet.js for mapping functionality
  • Material-UI for the component library

About

A real-time forest fire risk assessment application that monitors and analyzes weather conditions to predict potential fire hazards in forested regions worldwide.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors