🚀 TrustLend – Hackathon Project Story

💡 Inspiration

In today’s world, access to credit is a fundamental need, yet millions remain underserved by traditional financial institutions. High interest rates, slow approvals, and lack of trust plague the current lending landscape.

We wanted to change that.

TrustLend was born from the idea that trust and community-driven finance can create a more equitable lending system. We envisioned a peer-to-peer platform where people could lend and borrow money transparently, backed by smart risk assessment and user reputation—not just credit scores.


🛠️ How We Built It

We built TrustLend as a full-stack web application with an emphasis on performance, security, and simplicity:

🔧 Tech Stack

  • Frontend: React, TailwindCSS, Framer Motion, Radix UI
  • Backend: Node.js, Express, Drizzle ORM, PostgreSQL (Neon)
  • Authentication: Passport.js with session-based auth
  • Payments: Stripe for processing transactions
  • Notifications: Twilio API for real-time alerts
  • Deployment Tools: Vite, ESBuild, TSX, TypeScript

🏗️ Architecture Highlights

  • A clean REST API layer connects the frontend and backend.
  • Authentication and session management are secure and scalable.
  • Recharts and dashboards provide insights into lending activity.
  • Each user has a reputation score, determined by lending/borrowing history.

🧠 What We Learned

  • Full-stack Integration: This was our first time combining React with Drizzle ORM—learning how to structure clean DB relationships was a game-changer.
  • Stripe & Twilio APIs: We integrated these from scratch, learning how to handle real-time events and ensure secure transactions.
  • Session-based Auth: We deepened our understanding of cookies, sessions, and Passport’s local strategy.
  • Teamwork under Pressure: With a 24-hour time crunch, we learned the value of parallel development and clean communication.

⚠️ Challenges We Faced

  • Database Migration Conflicts: Drizzle ORM schema changes caused versioning issues—fixed by syncing with Drizzle Kit.
  • Frontend Zip Handling: Packaging and zipping our frontend separately introduced build issues; we streamlined this with Vite.
  • Time Management: Balancing frontend polish with backend logic was a challenge—we scoped features tightly to stay on track.
  • Authentication Glitches: Managing login state across routes was tricky but taught us how to debug sessions thoroughly.

💬 Final Thoughts

Participating in this hackathon pushed us to explore new technologies, work as a cohesive team, and tackle a real-world problem with impact. TrustLend is more than a project—it's a prototype of what peer-to-peer finance could look like in a more transparent, accessible world.

We’re excited to continue building on this foundation.

Share this project:

Updates