bcdasilv / PolyFreeStuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js CI

About

PolyGold is a CSC 307 (Intro to Software Engineering) project that aims to reduce waste on campus at Cal Poly by making the sharing of goods more possible and accessible to students. It's a webapp that allows users to list and contact students about free items. This allows students who are moving out or are no longer in need of certain items to get connected to students who could make use of them, saving the lister from a trip to the dump and creating a more sustainable Cal Poly community by promoting the reusing of goods.

UI Protoype

View our full UI protoype here

note: last updated 10/20/21

Environment Setup

cd backend>npm install>npm run dev

cd frontend>npm install>npm start

Diagrams

Code Coverage 11/29/2021 11am

Note: Uncovered lines in user-services.js are due to connection the local database and not the production cloud databse.

PASS ./listing.test.js PASS ./user.test.js

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 95.38 75 100 95.93
backend 95.08 75 100 95.65
...g-services.js 97.26 86.36 100 98.5 81
user-services.js 91.83 33.33 100 91.66 15-30,50
backend/models 100 100 100 100
listing.js 100 100 100 100
user.js 100 100 100 100

Test Suites: 2 passed, 2 total Tests: 27 passed, 27 total Snapshots: 0 total Time: 2.532 s

About


Languages

Language:JavaScript 47.2%Language:HTML 41.8%Language:CSS 11.0%