Bpop is a website developed by UCLA students for the UCLA community. It is similar to depop, allowing UCLA community members to buy and sell used clothing and objects. By focusing on the UClA community as the primary user demographic, we are able to encourage more people to participate in the affordable and sustainable practice of buying used clothes who may have been driven off other websites like depop by shipping prices, shipping times, and interactions with strangers who can easily avoid accountability. Bpop centers around UCLA, so picking up and delivering clothes is as easy as meeting on campus. Furthermore, there is a higher level of accountability on the behalf of sellers and buyers, as users are all part of the same UCLA community and can garner a reputation.
- Node.js (Recommended: Latest LTS version)
- npm (comes bundled with Node.js)
- MongoDB (locally installed or a remote instance)
- Git (to clone the repository)
Open your terminal on your preferred IDE and run the following command:
-
Clone the repository:
git clone https://github.com/kcabalonga/Bpop.git cd Bpop
-
Install Backend Dependencies:
cd Backend npm install npm install bcrypt npm install nodemailer crypto npm install supertest mongoose jest
-
Seed the Database:
npm run seedUsers npm run seedListings npm start
-
Install Frontend Dependencies:
cd Frontend npm install npm start
-
Open the Application Go to
http://localhost:3000/
in your browser to view the application.
The following are the tags that are hardcoded into the website, and that you can search for on the landing page. More tags can be added, but ensure that additional tags are included in the various places where potential tags are proposed via dropdown menus (i.e. the profile page for create listings, the landing page where tags are chosen to filter by, etc.)
- accessory
- athletic"
- graphic
- hat
- jacket
- long-sleeve
- shirt
- short-sleeve
- shorts
- socks
- vintage
- modern
- object
Note that they are in alphabetical order. If add more tags, good to maintain this for clarity
Contains the code for setting up the server, and the api routes
Contains the schema for our two collections: Users and Listing. You can read more about them in the backend's README
Contains the seeding information to populate the database with listings and users. Also contains command to clear database. See more specifics in backend's README
Contains the tests for backend server. Can run 'npm test' in backend folder to execute these tests.
❗The testing code does succesfully test the program, but WILL delete all entries in the Users and Listings collections❗
Contains the HTML files for some of our pages. Note that many have become unused as we switched from html pages to react, and are thus useless/can be deleted
- Has the components folder, which has the components used throughout our webpages
- Has the images folder, with used images
- Has Pages folder, with the pages used by our app
- App.js & App.css establish routes and styling
- Other files related to general setup and structure
Group Number: 6
Members:
- Gabriel Schwinden - BriboSD
- Kirsten Cabalonga - kcabalonga
- Kaylee Marquez - kae2587
- Yong-Ci Chu - Celinechu0905
- Austin Magno - Austin-Apple