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.
- React.js
- Node.js
- Express.js
- MySQL
- SocketIO
- Arduino
To be added
To be added
- Clone the repository
git clone https://github.com/Elnur1337/smart-waste-management-system.git
- Navigate to
./database
cd ./database
- Run
npm installcommand
npm install
- Run
createScript.sqlin MySQL Workbench. - Replace MySQL config in
loadData.jswith your config. - Run
loadData.jswith command
node loadData.js
- Run
updateDatesToCurrentDates.sqlin MySQL Workbench. - Run
updateLocations.sqlin MySQL Workbench. - Navigate to
./database/storedFunctionsAndProcedures
cd ./database/storedFunctionsAndProcedures
- Run
trashBinsCurrentState.sqlin MySQL Workbench. - Navigate to
../../client
cd ../../client
- Run
npm install command
npm install
- Replace Google Maps API key in
Map.jsxwith your key. - Open second terminal.
- In second terminal navigate to
./server
cd ./server
- In second terminal run
npm installcommand
npm install
- Replace MySQL config in
./server/database/dbConfig.jswith your config. - In first terminal run
npm startcommand
npm start
- In second terminal run
npm startcommand
npm start
- Open your browser and navigate to
http://localhost:3000/.
To be added
To be added
To be added
To be added