At Sigma School, we pride ourselves on fostering creativity, innovation, and problem-solving through real-world projects. One of our standout students, Danial, recently completed his capstone project: Sport Mart — an online platform where sports enthusiasts can buy and sell sports gear. From tackling a personal challenge to mastering new technical skills, Danial’s journey is nothing short of inspiring. Here’s a closer look at his project and what he learned along the way.
Danial’s Background
Danial is an undergraduate student from Singapore with a passion for sports. As someone who’s always eager to explore new activities like soccer, badminton, and even slacklining, Danial has accumulated a significant collection of sports equipment and apparel over the years. However, as much as he loved his gear, he started facing a common problem: a growing pile of unused sports items cluttering his home.
“Some of the items I bought were really expensive, and it felt like such a waste just to let them sit there,” Danial shared. This frustration sparked an idea — why not create a streamlined way for sports lovers to resell their equipment, clear up space, and make some cash for new adventures?
The Problem and The Solution
The problem was clear: many people, like Danial, struggle with unused sports gear that’s difficult to sell or dispose of. Traditional selling platforms often lack a community-driven focus, and finding buyers for niche sports items can be challenging.
Enter Sport Mart, Danial’s solution. This platform is designed to make buying and selling sports equipment effortless. Whether you’re upgrading your soccer cleats, selling your badminton racket, or clearing out old gym clothes, Sport Mart connects sports enthusiasts to create a win-win situation.
Key Features of Sport Mart:
- User Authentication: Ensures a secure and personalized experience for all users.
- Product Management: Sellers can easily list, update, or remove items with detailed descriptions and images.
- Shopping & Cart: A user-friendly interface that showcases all available products and allows seamless shopping.
- Order History: Users can track their purchases, with confirmation emails sent after checkout.
- Payment Integration: Secure transactions powered by Stripe.
Technical Overview
Danial brought his idea to life with a solid tech stack:
- Frontend: Built using React and React Router. React was chosen for its component-based architecture, allowing Danial to create reusable UI components for listing products, shopping cart functionality, and order history. React Router enabled seamless navigation between pages, enhancing the user experience with a single-page application feel.
- Backend:
- - Firebase Authentication: Provides secure login and user management, ensuring only authenticated users can list or purchase items.
- - Firestore Database: Used to store and retrieve product listings and user details. Firestore’s real-time capabilities allowed Danial to dynamically update the UI whenever a new product was listed or purchased.
- - Neon SQL: Manages relational data, such as the connections between users, products, and orders. Danial designed efficient queries to handle complex data relationships, ensuring fast and accurate results.
- Server Logic:
- Hosted on Replit, an Express server manages API routes to handle requests from the frontend. This layer acts as the bridge between the frontend and the databases, ensuring data integrity and security.
- Payment Integration: Stripe’s API was used to implement secure payment processing. Users can confidently make transactions knowing their payment data is handled securely.
- API Communication: Axios was integrated to handle API requests and responses. This library simplified CRUD operations (Create, Read, Update, Delete), making data flow between the frontend and backend seamless.
Through this stack, Danial was able to create a robust, scalable platform that offers a smooth user experience from listing items to completing transactions.
Challenges and Learning Experiences
Building Sport Mart wasn’t without its hurdles. Danial encountered several challenges, each of which became a valuable learning opportunity:
- Managing Relationships Between Datasets: With multiple data points such as user profiles, product listings, and order history, maintaining accurate relationships between datasets was crucial. Danial turned to Sigma School’s resources, where he learned advanced data modeling techniques and best practices for structuring databases.
- Dynamic Page Conditions: Ensuring the right pages displayed under specific conditions (e.g., showing a “Thank You” page post-checkout) was a complex task. Sigma School mentors guided him in implementing React Router effectively and writing logic to handle dynamic states seamlessly.
- Integrating Secure Payments: Setting up Stripe for secure payments was initially daunting. With guidance from Sigma School’s instructors and detailed documentation, Danial successfully implemented this feature, ensuring a smooth and secure checkout experience for users.
Beyond the technical aspects, Danial credits Sigma School for helping him cultivate a problem-solving mindset and resilience. “I learned how to break down complex problems into smaller, manageable tasks and approach them step by step,” he said.
Conclusion
Danial’s capstone project, Sport Mart, is a testament to his growth as a developer and problem-solver. By addressing a real-world issue with a thoughtfully designed platform, Danial has created a solution that benefits sports enthusiasts while honing his technical skills in full-stack development.
Through challenges and triumphs, Danial’s journey reflects the core of Sigma School’s mission: empowering students to turn ideas into impactful projects. We’re incredibly proud of what he has accomplished, and we can’t wait to see where his skills take him next.