Skip to content

Latest commit

 

History

History
111 lines (83 loc) · 2.22 KB

File metadata and controls

111 lines (83 loc) · 2.22 KB

🚀 SKILL SWAP - FINAL SETUP GUIDE

✅ COMPLETE WORKING APPLICATION

🎯 OPEN 2 TERMINALS AND RUN:

Terminal 1 - Backend:

cd "/Users/dushyantacharya/SKILL SWAP/backend"
node server-complete.js

Terminal 2 - Frontend:

cd "/Users/dushyantacharya/SKILL SWAP/frontend"
npm run dev

🌐 Then open: http://localhost:5173


✅ FEATURES THAT WORK:

1. Authentication ✅

  • Register new users
  • Login with email/password
  • JWT token authentication

2. User Profile ✅

  • View/edit profile
  • Add bio
  • Manage skills

3. Skills Management ✅

  • Add skills you offer
  • Add skills you want to learn
  • Remove skills
  • 8 pre-loaded skills (React, Python, UI/UX, etc.)

4. Skill Matching ✅

  • Smart matching algorithm
  • Match scores based on skill compatibility
  • View recommended matches
  • See what skills they offer/want

5. Real-time Messaging ✅✅✅

  • Send/receive messages
  • Multiple conversations
  • Message history
  • Real-time updates
  • THIS IS FULLY WORKING NOW!

6. Swap Requests ✅

  • Create swap requests
  • Accept/reject requests
  • Track request status

7. Dashboard ✅

  • Welcome screen
  • Navigation to all features
  • User info display

🧪 HOW TO TEST:

  1. Register: Create account with any email/password
  2. Add Skills: Go to Profile → Add skills you offer/want
  3. Find Matches: Go to Matches → See recommended users
  4. Send Messages: Go to Messages → Type and send messages
  5. Create Swaps: Request skill exchanges

🔧 TROUBLESHOOTING:

If port 5001 is busy:

lsof -ti:5001 | xargs kill -9

If port 5173 is busy:

lsof -ti:5173 | xargs kill -9

If frontend won't start:

cd frontend
rm -rf node_modules package-lock.json
npm install
npm run dev

📊 TECHNICAL DETAILS:

  • Backend: Node.js + Express (Port 5001)
  • Frontend: React + TypeScript + Vite (Port 5173)
  • Database: In-memory (no PostgreSQL needed for demo)
  • Auth: JWT tokens with bcrypt
  • State: Zustand for React state management
  • Styling: Tailwind CSS

🎉 YOU'RE READY!

The complete Skill Swap platform is ready to use. Just run the 2 commands above and start swapping skills!