Inspiration

Every year enterprises lose millions by decommissioning their IT hardware, heavy machineries and tools. As govt. are becoming more strict on compliance & sustainability mandates, everything needs to be documented and audited. This is where ReAssetHub comes in. ReAsset is not such valid word however its a slang to resale or re-inovate those used assets and equipments.

What it does

ReAssetHub is a platform for business or enterprises to resale their IT asset or Industry equipments.

How we built it

We built it by integration AWS Aurora Postgres database with Vercel. We created a dashboard showing the CO2 equivalent emissions that the company is preventing by resaling their assets, making sure that all the financial summaries are only be seen by the admins. On the assets page, the user can add the asset for resale and listing it on the marketplace. The Marketplace is where the user will bid on the asset or settle with one of the bids for his asset. Also kept the payment history page for documentation and audit purpose and a wiki page to walk through the app. Also added a completed sales page to see the sales summary.

Challenges we ran into

Connecting with the AWS using IAM was biggest challenge, I spent days in learning if there was any way I could add both a basic auth and the IAM. It took me a long time to understand the concept of IAM and how the tokens are only valid for 15 minutes. Also connecting the db supporting only IAM authentication with pgadmin was challenging to validate all the data in the database plus the IAM token becoming invalid every 15 minutes. The AWS Query Editor was not accessible for AWS Aurora Postgres SQL, the same was the issue with the vercel DB tab, on vercel the DB URL was required to connect to the Database however the Aurora DB connects through PG Host, user and password.

Accomplishments that we're proud of

Proud to make a sustainable app preventing CO2 emission that can do the following: • Upload bulk asset manifests (CSV) or add individual assets manually • Route assets to Resale, Donate, or Scrap based on condition • Create timed auction listings with reserve prices • Real-time countdown timers showing days, hours, and minutes • Place and modify bids with per-listing bid tracking • Settle auctions with automatic 8% commission calculation • Full payment receipt generation (downloadable .txt) • Architecture and database schema visualisation pages • Interactive documentation with in-app navigation links

What we learned

The entire journey was quite interesting for the first time I learned about IAM authentication. Also it was a good experience learning about vercel and OIDC connect. The fact that a simple resaling of assets could save tonnes of CO2 emission was the biggest motivation to work on this project.

What's next for ReAssetHub

Adding more modules for roles, integrating payments with third party apps, etc

Built With

Share this project:

Updates