This project is built during MadHacks 2019 Carbon, at UW Madison

Description

This is a web application that helps students to post and share/sell unused goods to other users. We visualize the apartment layout for the user and show only the category of items such as food, cloth or book in each window representing the apartment unit. We want to promote users to reduce waste by buying want they have already had in their minds and really need rather than purchasing because they see the good. Sharing within apartments of food that people buy in surplus and cannot use up or used cloth can reduce carbon emission by a considerable amount if the application is generalized to a larger population.

Setup

You need to setup the project before running it in the browser.

First Step

If you do not have node.js installed, install it from Node.js Website.
If you do not have nodemon installed, you need to install it globally (you can install it locally too) using npm. You can install by "npm install -g nodemon". If the permission is denied during installation, read the following link by antzhrek

For IDE, I used visual studio code.

Second Step

Git clone the repository to your local machine.

In the parent directory (/hackathon), run "npm install". This will install all the dependencies listed in the package.json file.
In the backend directory (/hackathon/backend), run "npm install" again.

Running

It's time to run the web application!

First, in the backend directory, run "nodemon server". This will run server.js file and connnect the front end to our server. It will be at "localhost:5000"

Next, in the parent directory, run "npm start". This will start up the server and display the website in the browser. It will be at "localhost:3000"

Share this project:

Updates

posted an update

More for the description part:

Users can click on the window icon on the apartment picture and view the item and contact the seller. Users can also post their own items to sell. There will be a rating process after each transaction so that other people in the building can have a better idea for the reliability of the sellers.

Log in or sign up for Devpost to join the conversation.