-
Frontend Git URL: https://github.com/vasugamdha/SkipTheBins
-
Backend Git URL: https://github.com/vasugamdha/SkipTheBinsBackend
-
Project - Skip the bins : Recyclable waste management system The project gives a common platform for the vendors who recycle waste and the users who wants to submit their waste to those vendors. Users will schedule a waste pickup from this website, track the pickup and will receive rewards based on the amount of waste given. Users can see history of their submissions. Vendors can schedule pickups and award rewards to users. Both users and vendors can see staticstics of the waste submissions.
-
Date Created: 29 MAR 2022
-
Last Modification Date: 30 MAR 2022
-
Deployment URL: https://skip-the-bins-backend.herokuapp.com/
-
Git URL: https://git.cs.dal.ca/aabhaas/group_14_backend_csci5709
- Aabhaas Jain (B00899378) - (Developer)
- Jaimi Maheshbhai Sheta (B00886563) - (Developer)
- Lokansh Gupta (B00899355) - (Developer)
- Prashit Prakashbhai Patel (B00896717) - (Developer)
- Vasu Gamdha (B00902737) - (Developer)
- Vivekkumar Patel (B00896765) - (Developer)
- User Management - Vasu Gamdha
- Scheduling Pickups - Prashit Prakashbhai Patel
- Tracking Pickups - Vivekkumar Patel
- FAQs - Aabhaas Jain
- Contact Us - Lokansh Gupta
- Analytics - Jaimi Maheshbhai Sheta
To have a local copy of this project up and running on your local machine, refer the sections below.
First you need to install the following software / libraries / plug-ins
- Node.js
- npm
See the following section for detailed step-by-step instructions on how to install this software / libraries / plug-ins
Installation of Node.js and npm can be found at https://nodejs.org/en/
Run the following commands to check successful installation:
- node -v
- npm -v
To run this project on local follow the below steps:
- Run 'git clone https://git.cs.dal.ca/aabhaas/group_14_backend_csci5709' for cloning files of this repository to local machine.
- Run 'npm install' for installing dependencies.
- Run 'npm run build' to build the app.
- Run the app using 'npm start'.
- Open browser and run http://localhost:8080/ to run the app in the browser.
This project is deployed on Heroku server. Follow below steps for deployment:
- Go to https://www.heroku.com/ and sign in with your account.
- Create a new app and give it a name.
- In your terminal, run 'heroku login'.
- After successful login, run 'heroku git:clone -a {APP_NAME}$ {APP_NAME}' where APP_NAME is the name provided in step 2.
- Run 'git add .' to add all the files.
- Run 'git commit -am MESSAGE' where MESSAGE is any string which can be used to identify the commit.
- Run 'git push heroku master' to push the code.
- Heroku will build the code after completion of push operation.
- Click on 'Open App' from the heroku website window to view the deployed app.
- Nodejs Documentation - node.js