Skip to content

Smart waste management system is a web application with which the city administration can intelligently manage the garbage disposal process

License

Notifications You must be signed in to change notification settings

Inconsequential-24/smart-city-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart waste management system

Smart waste management system is a web application with which the city administration can intelligently manage the garbage disposal process. The application allows monitoring the current fill level of any trash bin in the city. Application allows creation of smart routes for garbage trucks so that only the trash bins that really need to be picked up are picked up.

Tech stack

  • React.js
  • Node.js
  • Express.js
  • MySQL
  • SocketIO
  • Arduino

Screenshots

To be added

Video presentation

To be added

Installation

  1. Clone the repository
git clone https://github.com/Elnur1337/smart-waste-management-system.git
  1. Navigate to ./database
cd ./database
  1. Run npm install command
npm install
  1. Run createScript.sql in MySQL Workbench.
  2. Replace MySQL config in loadData.js with your config.
  3. Run loadData.js with command
node loadData.js
  1. Run updateDatesToCurrentDates.sql in MySQL Workbench.
  2. Run updateLocations.sql in MySQL Workbench.
  3. Navigate to ./database/storedFunctionsAndProcedures
cd ./database/storedFunctionsAndProcedures
  1. Run trashBinsCurrentState.sql in MySQL Workbench.
  2. Navigate to ../../client
cd ../../client
  1. Run npm install command
npm install
  1. Replace Google Maps API key in Map.jsx with your key.
  2. Open second terminal.
  3. In second terminal navigate to ./server
cd ./server
  1. In second terminal run npm install command
npm install
  1. Replace MySQL config in ./server/database/dbConfig.js with your config.
  2. In first terminal run npm start command
npm start
  1. In second terminal run npm start command
npm start
  1. Open your browser and navigate to http://localhost:3000/.

Arduino setup (Optional)

To be added

Usage

To be added

Contact

To be added

Acknowledgements

To be added

About

Smart waste management system is a web application with which the city administration can intelligently manage the garbage disposal process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published