Skip to content

snehatomar1205/SkillSwap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SkillSwap πŸ”

A Peer-to-Peer Skill Exchange Platform using Time Credits

SkillSwap is a full-stack MERN application that allows users to exchange skills with each other using time credits instead of money. Users teach what they know, earn time credits, and spend those credits to learn new skills from others β€” promoting collaborative and fair learning.


πŸŽ₯ Working Demo / Tutorial

πŸ‘‰ Complete working walkthrough:
https://youtu.be/WthbLqcGbcM


πŸš€ Features

πŸ‘€ Authentication & User Profiles

  • Secure user registration and login using JWT authentication
  • Persistent authentication using /api/auth/me
  • User profiles displaying skills, exchanges, and time credits

🧠 Skill Marketplace

  • Create and delete skill posts
  • Browse and explore skills offered by other users
  • Each skill is valued using time credits, not currency

πŸ”„ Skill Exchange System

  • Send skill exchange requests to other users
  • Accept or reject incoming requests
  • Track exchange status and history
  • Exchange logic ensures fair credit-based transactions

πŸ’¬ Real-Time Chat (Socket.IO)

  • Real-time one-to-one messaging between exchange participants
  • Implemented using Socket.IO for low-latency bi-directional communication
  • Chat rooms scoped to individual exchange requests
  • Enables smooth coordination before and during skill exchanges

πŸ’¬ Community Interaction

  • Comment system on skill posts
  • Encourages discussion, clarification, and engagement

πŸ” Protected Routes

  • Route-level access control for authenticated users
  • Prevents unauthorized access to private pages

πŸ› οΈ Tech Stack

Frontend

  • React.js
  • Plain CSS (no UI frameworks)
  • Axios for API communication
  • React Router for navigation
  • Socket.IO Client for real-time chat

Backend

  • Node.js
  • Express.js
  • MongoDB + Mongoose
  • Socket.IO
  • JWT-based Authentication

βš™οΈ Core APIs

  • POST /api/auth/register
  • POST /api/auth/login
  • GET /api/auth/me
  • Skill CRUD APIs
  • Exchange Request APIs
  • Comment APIs
  • Socket.IO events for real-time chat

🧠 Engineering Highlights

  • Designed a time-credit based system to eliminate monetary dependency
  • Implemented real-time communication using Socket.IO with room-based messaging
  • Clean separation of concerns using MVC architecture
  • RESTful API design with proper validation and error handling
  • Scalable backend structure for future growth

πŸ“ˆ Future Enhancements

  • Skill ratings & reviews
  • Notifications for exchange updates
  • Admin dashboard
  • Deployment using Docker & CI/CD
  • Search & recommendation system

πŸ§‘β€πŸ’» Author

Sneha
2nd Year Computer Science Student
Focused on Full-Stack Development & Problem Solving


⭐ Support

If you like this project, consider giving it a ⭐
Contributions and feedback are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages