taskswap
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v10View latest version
A peer-to-peer platform where users exchange skills and tasks without money. Trade "I'll write your email if you solve this Excel issue for me" style exchanges with a token-based fairness system.
- User Authentication & Profiles: Create profiles highlighting skills and expertise
- Task Creation & Discovery: Post tasks with detailed requirements and browse available opportunities
- Token-Based Bartering: Fair exchange system ensuring balanced trades
- Direct Messaging: Communicate with other users to discuss task details
- Completion Verification: Rating system for completed exchanges
- Community Feed: Showcase successful exchanges and build trust
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── auth.ts # Authentication endpoints
│ │ ├── tasks.ts # Task CRUD operations
│ │ ├── users.ts # User management
│ │ ├── messages.ts # Direct messaging
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono app
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── TaskCard.tsx # Task display component
│ │ ├── UserProfile.tsx # User profile component
│ │ └── MessageThread.tsx # Messaging component
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Global styles
└── shared/
├── types.ts # Shared TypeScript types
└── utils.ts # Shared utility functions
- Backend: Hono (TypeScript API framework)
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite with Val Town's sqlite service
- Styling: TailwindCSS with custom design system
- Authentication: Simple token-based auth
- Colors: Teal primary (#0D9488), Purple accent (#9333EA), Orange highlight (#F97316)
- Typography: Inter font with 3 weights
- Spacing: 8px base system
- Components: Apple-inspired minimalism with intentional white space
- The app runs on Val Town's platform
- Database tables are auto-created on first run
- Visit the app URL to start using TaskSwap
- Create a profile and start posting or browsing tasks
- New users start with 10 tokens
- Posting a task costs tokens based on complexity
- Completing tasks earns tokens
- System prevents token hoarding and ensures fair exchanges