cd ./frontend && npm install && npm start
./backend - npm run start:dev
The term 'sustainability' can be very misleading to consumers because it is not as straight forward as one would think. The term has been greatly misrepresented in the fashion industry as telling instead of showing. Fashion labels think it only suffices to allude to the fact that they are using 'green' materials in their products while not changing the process of making the products. Our focus is on mass consumption by the public.
To stop that we are targeting the consumers because they have a big responsibility on the what and how the companies proceed in creating a product.
HandMeDown is a social media engagement project to promote sustainability in the fashion industry and encourage the preservation of lineage through garment, thus incentivizing customers to buy secondhand clothing instead of buying a brand new item.
A user can create an original QR code for each individual garment. The code can then be printed to iron-on paper and applied to the inside of the shirt (ideally by the back collar). This unique code will allow users to share where their garment is located, major life events/stories attached to the garment, and follow that garment’s stories as it is passed from user to user. MVP will focus on a target demo of young parents to share the stories of their children’s clothes - items that are usually owned for a short period of time ( 2 months on average ).
-
Users
Method Endpoint Description Body Data GET /usersGet all users n/a GET /users/:idGet single user by id n/a POST /users/Add new user avatar_url,username,passwordPATCH /users/:idEdit a user's info avatar_url,username, orpasswordDELETE /users/:idDelete a user n/a -
Garments
Method Endpoint Description Body Data GET /garmentsGet all garments n/a GET /garments/:idGet single garment by id n/a POST /garmentsAdd new garment garment_name,owner_id,garment_image,locationPATCH /garmentsEdit a single garment garment_name,owner_id,garments_image, orlocationGET /garments/users/:user_idGet all the garments for a single user n/a -
History
Method Endpoint Description Body Data GET /history/:idGet an individual history post n/a POST /historyAdd a new garment history history_body,user_id,garment_id,timestamp,locationGET /history/:garment_idGet all of the history for a garment n/a POST /HistoryAdd a new garment history history_body,user_id,garment_id,timestamp,location

