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.
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