Quick Start

Create your first mock endpoint in less than 5 minutes.

Start the Server

Run the command below to start Mockario:

Terminal
npx @mockario/mockario start

Info

This command will start:
  • Mock server on port 3001
  • Web interface on port 5173
  • Automatically open browser

Create your First Endpoint

  1. Access the web interface at http://localhost:5173
  2. Click the “New Endpoint” button
  3. Fill in the fields:
    • Path: /api/users
    • Method: GET
    • Response: { "users": [] }
  4. Click “Save”
localhost:3001

Test the Endpoint

Now you can test your endpoint:

Terminal
curl http://localhost:3001/api/users

Next Steps

Explore more features: