This guide walks you through the complete BidAuc workflow — from creating an account with OTP-based phone verification, to posting a job as a Seeker, and submitting a bid as a Provider. By the end you will have made real API calls and understand how both sides of the marketplace interact.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/harshalw2003/BidAuc/llms.txt
Use this file to discover all available pages before exploring further.
All BidAuc API endpoints run on
http://localhost:5000. Authentication uses httpOnly cookies issued after OTP login, so include -c / -b flags in your curl calls or configure your HTTP client to send cookies automatically.Seeker flow: post a job
Generate an OTP
Request a one-time password for your phone number. Send the 10-digit number as a string.A successful response confirms the OTP was generated:
In development, Twilio SMS delivery is disabled. The OTP is always
123456 regardless of the phone number.Register as a Seeker
Submit the OTP alongside your profile details. Set The server sets a JWT in an httpOnly cookie named
"role" to "Seeker" to create a job-poster account. Name fields are nested under userName.token and returns a confirmation:Post your first job
With your Seeker session active, create a job. Send as Your job is now live and visible to Providers browsing the marketplace with
multipart/form-data. The category value must exactly match one of the 22 valid category names (e.g. "Plumbing").bidStatus: "unaccepted" and completionStatus: "pending".Provider flow: place a bid
Register as a Provider
Open a new terminal (or use a fresh cookie jar) and register a second account with
"role": "Provider". Providers can include a businessName in their profile later via POST /user/updatePersonalDetails.Browse available jobs
As a Provider, list all pending jobs to find one to bid on.The response returns an array of jobs where
completionStatus: "pending". Note the _id of the job you want to bid on.Submit a bid
Post a bid with your offered price and a description of how you will approach the work. Pass the job’s
_id as jobId.What’s next
Core concepts
Understand Seeker and Provider roles, permissions, and how the dual-role model shapes every API call.
API reference
Full reference for every endpoint, including request parameters, response shapes, and error codes.