{"id":20022398,"url":"https://github.com/samarjiit/second","last_synced_at":"2026-04-13T15:33:04.315Z","repository":{"id":161759165,"uuid":"636404800","full_name":"Samarjiit/second","owner":"Samarjiit","description":"Developed  a  web  app  to  create  a  vibrant  student  market  ecosystem,  providing  a  platform  for  students  to  buy  and  sell their  second-hand  items  at  affordable  prices.","archived":false,"fork":false,"pushed_at":"2023-10-12T14:55:38.000Z","size":13152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T03:43:55.622Z","etag":null,"topics":["database","reactjs","website"],"latest_commit_sha":null,"homepage":"https://secondchance.onrender.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samarjiit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-04T19:20:51.000Z","updated_at":"2024-08-08T07:22:29.000Z","dependencies_parsed_at":"2023-10-13T02:46:17.851Z","dependency_job_id":"c1e23054-aea7-4e9e-88c4-3bae0f627e97","html_url":"https://github.com/Samarjiit/second","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Samarjiit/second","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samarjiit%2Fsecond","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samarjiit%2Fsecond/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samarjiit%2Fsecond/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samarjiit%2Fsecond/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samarjiit","download_url":"https://codeload.github.com/Samarjiit/second/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samarjiit%2Fsecond/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","reactjs","website"],"created_at":"2024-11-13T08:40:11.362Z","updated_at":"2026-04-13T15:33:04.278Z","avatar_url":"https://github.com/Samarjiit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# About Second Chance👋\n\nThis project is to enable people to easily access, be made aware and utilize the various  ‘previously-owned’ everyday items and hostel necessities to get the best out of waste, at a fair price,  primarily focused on the student community, including hostels like that of MIT Manipal.\n\n“Consume less, share better.”\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"ab.png\" \u003e\n  \u003c/p\u003e\n\n\n\n## Inspiration for the Project:\u003e👩‍💻\nWith the current problems of Global Warming, Contamination and Pollution, Fast Fashion and Textile Waste and their adverse effect on Health, it has never been more important to think about our individual and collective impact on the world we live in.\n\n“We don’t have to sacrifice a strong economy for a healthy environment.” -Dennis Weaver\n\nBy making little changes to help reduce waste,  these small steps can turn into bigger steps encouraging others to make small changes too.\nTaking inspiration from a Telegram Group already existing for this purpose in MIT Manipal, and expanding upon it, is our website ‘2 Chance’, where both sellers and buyers are students across streams; it consists of and portrays several goods(second-hand) for buyers to purchase at economical prices and thereby allows sellers to do away with their expendable items at reasonable prices in an environment-friendly way.\n\n## Tech stack Used\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"bc.png\" height=\"250px\"\u003e\n  \u003c/p\u003e\n\n## Modules \nLogin/ Registration \nEasy Login/ Registration and Profile creation for the user. \nUser Profile\nUsers can edit their profile, view, and manage their orders. They can also join in as a seller and start selling their products on the website.\n\n\n\n## Demo\n\nhttps://secondchance.onrender.com/\n\n\n## Modules\n\n- Login/ Registration\n- Buy option for each product\n- Payment gateway\n- Customer Support \n- Dashboard for Admin\n- Dashboard for Seller\n\n\n## System design\n\nActivity diagram \n\nCustomer \n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"d.png\" \u003e\n  \u003c/p\u003e\n\n\nSeller \n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"e.png\"\u003e\n  \u003c/p\u003e\n\n## Sequence Diagram \nThe Sequence Diagram for our project illustrates the interactions between the Buyer, Seller, and our Platform during a typical transaction.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"y.png\"\u003e\n  \u003c/p\u003e\n\n\n\n  ## Schema Diagram \nThe Schema Diagram for the project shows the structure of the database, which  consists of three collections: Users, Products, and Orders. \n\nThe Customer Collection stores data such as name, email, and password for each registered user. The Product Collection stores details about each product, such as name, description, price, and image URL. \n\nThe Order Collection stores data related to each transaction, such as the Buyer and Seller Ids, Product Ids, price, and timestamp. \n\nThe Schema Diagram provides a visual representation of the data model used in the project, and helps developers understand how the data is organized and stored in the database.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"z.png\" \u003e\n  \u003c/p\u003e\n\n\n## ScreenShort\n\u003cp\u003e\n  \u003cimg src=\"x1.png\" height=\"250px\"\u003e\n   \u003cimg src=\"x2.png\" height=\"250px\"\u003e\n     \u003cimg src=\"x4.png\" height=\"250px\"\u003e\n      \u003cimg src=\"x5.png\" height=\"250px\"\u003e\n       \u003cimg src=\"x6.png\" height=\"250px\"\u003e\n        \u003cimg src=\"x7.png\" height=\"250px\"\u003e\n         \u003cimg src=\"x8.png\" height=\"250px\"\u003e\n      \u003cimg src=\"x3.png\" height=\"250px\"\u003e\n\n  \u003c/p\u003e\n\n\n  ## Conclusion \n  In our everyday lives, we have come across multiple instances wherein products have been thrown away or kept aside for the mere reason of it no longer being of any use. By making little changes to help reduce waste, these small steps can turn into bigger steps encouraging others to make small changes too. \n  \nTaking inspiration from a Telegram Group already existing for this purpose in MIT Manipal, and expanding upon it, is our website 2 Chance, where both sellers and buyers are students across streams;\nit consists of and portrays several goods(second-hand) for buyers to purchase at economical prices and thereby allows sellers to do away with their expendable items at reasonable prices in an environment friendly way.\nEvery day is a ‘second chance’. By showcasing various ‘previously owned’ items, we wish to encourage people to give used products a second chance, another go at life by providing a way that benefits the Sellers, Buyers and most importantly, our environment as well, making second-hand their first choice. \n\n  ## Learning Curve\nWe learnt a lot in terms of using and experimenting with React.js, Node.js, Express.js and MongoDB in this project. \nThis project ‘2 Chance’, has helped us in understanding the different development phases of a website and test its various features. We believe that we have accomplished our objectives and aim and are very happy and satisfied with the code we have developed, which could possibly be successfully utilized by us, the ‘MITians’ commercially to buy and sell their second-hand products.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamarjiit%2Fsecond","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamarjiit%2Fsecond","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamarjiit%2Fsecond/lists"}