Your project is LIVE and RUNNING!
-
Backend API
- URL: http://localhost:8080
- Status: ✅ Running
- Database: JSON-based (LowDB)
- Health Check: http://localhost:8080/health
-
Frontend
- URL: http://localhost:3000
- Status: ✅ Running
- Framework: React + Vite
- Connected to: Real Backend API
Open your browser and go to:
http://localhost:3000
Click "Connect Wallet" button in the top right. This will simulate a wallet connection with:
- Demo Address:
addr_test1qz2fxv2umyhttkxyxp8x0dlpdt3k6cwng5pxj3jhsydzer3jcu5d8ps7zex2k2xt3uqxgjqnnj83ws8lhrn648jjxtwq2ytjqp - Demo Balance: 1000 ADA
-
Click "Create Project" in the navigation
-
Fill in the form:
- Title: e.g., "Website Development"
- Description: Project details
- Freelancer Address: Any Cardano address
- Milestones: Add one or more milestones with:
- Description
- Amount (in lovelace, e.g., 1000000000 = 1000 ADA)
- Deadline
-
Click "Create Project"
-
Project will be saved to the database and displayed
- Click "Projects" to see all projects
- Click on any project card to view details
- See milestone progress and status
As a Freelancer:
- Click "Mark Complete" on milestones you've finished
As a Client:
- Click "Approve & Release Funds" to approve completed milestones
- Click "Profile" to see your stats:
- Completed projects
- Total earned
- Average rating
- Disputes
All endpoints are available at http://localhost:8080/api/v1
POST /projects- Create new projectGET /projects- List all projectsGET /projects/:id- Get project detailsPOST /projects/:id/milestone/:mid/complete- Complete milestonePOST /projects/:id/milestone/:mid/approve- Approve milestonePOST /projects/:id/cancel- Cancel project
GET /users/:address/profile- Get user profile
POST /disputes- Create disputeGET /disputes/:id- Get dispute detailsPOST /disputes/:id/resolve- Resolve dispute
Data is stored in: backend-api/data/db.json
You can view and edit this file directly to see all stored data:
- Projects
- Users
- Disputes
To stop the running services:
Backend:
# Find the process and stop it
# Or use Ctrl+C in the terminalFrontend:
# Find the process and stop it
# Or use Ctrl+C in the terminalBackend:
cd backend-api
npm run devFrontend:
cd frontend
npm run devTo reset all data:
# Delete the database file
rm backend-api/data/db.json
# Restart the backend - it will create a fresh database# Health check
curl http://localhost:8080/health
# Get all projects
curl http://localhost:8080/api/v1/projects
# Get user profile
curl http://localhost:8080/api/v1/users/addr_test1.../profileVisit these URLs directly:
✅ Project Creation - Create projects with multiple milestones ✅ Project Listing - View all projects with status ✅ Project Details - See full project information ✅ Milestone Management - Complete and approve milestones ✅ User Profiles - Track reputation and stats ✅ Real-time Updates - Changes reflect immediately ✅ Persistent Storage - Data saved to JSON database ✅ RESTful API - Full backend API working ✅ Responsive UI - Works on all screen sizes
- ✅ Wallet connection simulated
- ✅ Real backend API with database
- ✅ All CRUD operations working
- ✅ Data persistence
- ❌ No blockchain transactions
- ❌ No real Cardano wallet integration
To make this production-ready with real blockchain:
- Deploy Plutus smart contracts to Cardano
- Integrate real wallet (Nami, Eternl, Flint)
- Connect to Cardano node
- Use Blockfrost or similar API
- Replace simulated transactions with real ones
-
Test the Application
- Create multiple projects
- Complete milestones
- Test all features
-
Customize
- Modify UI styling
- Add more features
- Enhance validation
-
Deploy
- Deploy backend to a server
- Deploy frontend to Vercel/Netlify
- Set up production database
# Check if backend is running
curl http://localhost:8080/health
# Restart backend
cd backend-api
npm run dev# Check if frontend is running
# Should see Vite dev server at http://localhost:3000
# Restart frontend
cd frontend
npm run dev- Backend is configured to allow requests from http://localhost:3000
- If you change ports, update
backend-api/.env
Your TrustlessTask decentralized freelance marketplace is now running with:
- ✅ Full-stack application
- ✅ Real backend API
- ✅ Persistent database
- ✅ Complete UI
- ✅ All features working
Open http://localhost:3000 and start using it!