Skip to content

Implement Job Posting & My Gigs API (Jobs Module) #35

@phertyameen

Description

@phertyameen

Provide REST APIs for clients to post gigs and freelancers to view their gigs. This should integrate with both Postgres and blockchain hooks.

Tasks:

Define DTOs + validation for gig creation.

POST /jobs → creates a new gig (store metadata in DB + call contract).

GET /jobs/:id → fetch gig details (merge DB + blockchain state).

GET /jobs/my → list gigs for current user.

Connect with BlockchainService.createGig(...) when contract call integration is ready.

Acceptance Criteria:

✅ Clients can post a gig through API.

✅ Freelancers can view gig details.

✅ API returns consistent response merging off-chain + on-chain data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions