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 install
command
npm install
- Run
createScript.sql
in MySQL Workbench. - Replace MySQL config in
loadData.js
with your config. - Run
loadData.js
with command
node loadData.js
- Run
updateDatesToCurrentDates.sql
in MySQL Workbench. - Run
updateLocations.sql
in MySQL Workbench. - Navigate to
./database/storedFunctionsAndProcedures
cd ./database/storedFunctionsAndProcedures
- Run
trashBinsCurrentState.sql
in MySQL Workbench. - Navigate to
../../client
cd ../../client
- Run
npm install command
npm install
- Replace Google Maps API key in
Map.jsx
with your key. - Open second terminal.
- In second terminal navigate to
./server
cd ./server
- In second terminal run
npm install
command
npm install
- Replace MySQL config in
./server/database/dbConfig.js
with your config. - In first terminal run
npm start
command
npm start
- In second terminal run
npm start
command
npm start
- Open your browser and navigate to
http://localhost:3000/
.
To be added
To be added
To be added
To be added