CampusXchange Project Description
Inspiration
The inspiration for CampusXchange came from observing the inefficiencies in how college students buy, sell, and trade essential items. Students frequently need to purchase textbooks, furniture, electronics, and tickets, but existing marketplaces don't cater specifically to the campus community. I wanted to create a platform that addresses the unique needs of college students, offering a secure, local, and real-time auction-based system where students can exchange items within their university ecosystem.
What it does
CampusXchange is a real-time auction platform specifically designed for college communities. It allows students to list items they no longer need (textbooks, dorm furniture, electronics, event tickets) and others to bid on these items. The platform uses real-time bidding with live updates, university email verification for security, category-specific features (such as ISBN lookup for textbooks or event details for tickets), and location-based services to facilitate exchanges on campus.
How we built it
CampusXchange is built using Elixir and the Phoenix Framework, which offers excellent support for real-time features through LiveView and Channels. The application leverages:
- Elixir's GenServer for managing individual auction processes
- Phoenix LiveView for real-time UI updates without complex JavaScript
- PostgreSQL for data persistence
- TailwindCSS for responsive design
- Phoenix PubSub for broadcasting auction updates to connected users
- A modular architecture separating concerns by marketplace category
Challenges we ran into
Building CampusXchange presented several challenges:
- Learning Elixir and Phoenix as a new language and framework
- Implementing concurrent auction processes that maintain consistency
- Handling database migrations and relationships properly
- Managing real-time bidding with proper validation and notification
- Designing a responsive UI that works well on mobile devices
- Configuring the development environment correctly
Accomplishments that we're proud of
Despite the challenges, I'm proud of:
- Successfully implementing a functional real-time auction system
- Creating a clean, responsive UI that's intuitive for users
- Learning Elixir's concurrency model and applying it to real-world problems
- Designing a system that addresses specific campus marketplace needs
- Building the project within the hackathon's time constraints
What we learned
This project was an excellent learning experience:
- Gained practical experience with Elixir and functional programming concepts
- Developed skills in real-time web application development
- Learned about fault-tolerant system design using supervision trees
- Improved understanding of auction mechanics and bidding systems
- Enhanced front-end skills with Phoenix LiveView and TailwindCSS
What's next for CampusXchange
The future roadmap for CampusXchange includes:
- Implementing university email verification and authentication
- Adding image uploads for auction items
- Developing a rating and review system for buyers and sellers
- Creating a mobile app version for easier access
- Adding in-app messaging for buyers and sellers
- Implementing AI-based pricing recommendations based on historical data
- Expanding to multiple universities with inter-campus exchange options
Log in or sign up for Devpost to join the conversation.