SkillSwap
Learn everything, teach anything
The problem SkillSwap solves
A Skill Swap Platform allows people to exchange skills instead of paying money. Users can teach a skill they know and learn a skill they want from others.
What People Can Use It For
- Learn new skills without paying for courses
- Teach skills they are good at
- Connect with people having different expertise
- Build experience and strengthen their portfolio
How It Helps
- Removes financial barriers to learning
- Enables peer-to-peer learning
- Creates a community-driven learning environment
- Makes learning flexible and practical
Challenges we ran into
One major hurdle we faced was related to deployment and routing issues after authentication.
The Problem
After deploying the project, the home page loaded correctly, but when a user logged in or navigated to protected pages, the application returned a 404 error. This happened because the hosting platform did not recognize the client-side routes used in our single-page application.
Why It Happened
Our frontend used client-side routing, but the server was trying to find actual files for routes like /dashboard or /profile, which do not physically exist.
How We Solved It
We fixed this by configuring the deployment platform to redirect all routes to the main index.html file, allowing the frontend router to handle navigation.
For example, we added a configuration file to rewrite routes so that every request loads the SPA entry point.
Result
After applying the fix:
- Authentication redirects worked correctly
- All routes loaded without 404 errors
- The application behaved correctly in production
This experience helped us understand the importance of proper deployment configuration for single-page applications.
Tracks Applied (1)
Best Use of Gemini API
Major League Hacking
Technologies used
