“The Know” (Name undecided) aims to keep consumers in the know about the products they’re buying, enabling them to make educated and responsible decisions with as much information as possible. For any product on the website, there will be ratings (developed from existing information and research) to quantify the health and sustainability of a product as well as the expensiveness of the product compared to similar products. Users will also be able to leave reviews and ratings on the product, and the average rating as well as their individual reviews will be available for other users to view, upvote, and comment on. The website asks users to make an account, where they’ll be able to keep track of their favorite products, get recommendations about products they may enjoy, and keep track of their ratings and reviews. Users will also be able to take a photo of a product label/enter some information to generate ratings and add to the list of products available on the site. Users will also be able to scan the label to search up the product.
As someone I want to do something in order to something else
HTTP Verb | Name | Description | User stories |
---|---|---|---|
POST | user/product id | liked product by user | 1,2,3,5,6,7,8,9,10 |
DELETE | user/product id | remove like from product | 1,2,3,5,6,7,8,9,10 |
GET | products | display products | 1,2,3,4,5,6,7,8,9,10 |
POST | products/user id | new products added by users | 10 |
PUT | user/id | update user profile | 1,2,3,4,5,6,7,8,9,10 |
PUT | rating/user id | putting a rating associated with a user | 4 |
Column Name | Type | Description |
---|---|---|
id | integer | primary key |
name | string | name of product |
description | string | description of shoe's appearance |
photo_url | text | URL to photo of product |
nutrient | object | the nutrients associated with the product |
Column Name | Type | Description |
---|---|---|
liked_products | array of integer | products each user likes (by id) |
username | string | username |
password | string | password |
user_info | object | information about the user |