Skip to content

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

Smart Water Monitoring System

This project is a full-stack Smart Water Monitoring System consisting of a Flask-based backend and a React-based frontend.

πŸ“ Project Structure

smart_water_monitoring_system/
β”œβ”€β”€ backend/
β”‚   └── app.py
β”œβ”€β”€ frontend/
β”‚   └── src/
β”‚       └── App.js

πŸš€ How to Run

1. Backend (Flask API)

cd smart_water_monitoring_system/backend

# Optional: create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install flask

# Run the backend server
python app.py

The Flask server will be running at http://localhost:5000.

2. Frontend (React App)

cd ../frontend

# If not initialized yet, create a React app
npx create-react-app .

# Install dependencies and run the app
npm install
npm start

The React frontend will be accessible at http://localhost:5000.

πŸ“¦ Notes

  • Ensure the backend (Flask) is running before starting the frontend.
  • The frontend makes requests to http://localhost:5000/api/water-data.
  • Add your water_data.csv file in the backend/ directory.

Members

  • Vivek Yadav - 500120542

  • Pravar upadhyay - 500123937

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages