GoShip
How It WorksChallengesPricingEmployers
Sign InGet Started
0developers
0companies
0assessments scored
How It Works
|Pricing
|Challenges
|Employers
|Privacy
|Terms
GoShip© 2026
Get updates
Twitter·GitHub
Systems nominal
BUILDSENIOR

Build an API Mock Server

90 minutes
0 completed
nextjsapi-mockingdevtoolsfullstack

Description

Build an API Mock Server

Build a configurable API mock server with a web UI for defining endpoints and their responses.

Requirements

  • Web UI to define mock endpoints: method, path, response body, status code, headers
  • Support GET, POST, PUT, PATCH, DELETE methods
  • Dynamic path parameters (e.g., /users/:id)
  • Response delay simulation (configurable latency)
  • Request logging: show all incoming requests with timestamp, body, headers
  • Import/export endpoint configurations as JSON
  • Actual HTTP server that responds to real requests
  • Technical Notes

    Use Next.js API routes with catch-all route [...path]. Store mock definitions in server state or file.

    Bonus Points

  • Fake data generation using Faker.js
  • Response templates with variables
  • Proxy mode (forward to real API, record responses)
  • You will be guided through MCP setup before the timer starts