Skip to content

talevv/mock-api-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mock API Studio

A GUI-based utility for creating, managing, and running mock APIs. Design realistic mock endpoints without writing code.

757_1x_shots_so

Features

  • Create & Store Endpoints – Define mock endpoints with custom responses via the GUI
  • Activate/Deactivate – Toggle which endpoints are active in your mock server
  • Mock Server – Run a fully functional mock API server from your stored endpoints
  • Response Delay – Simulate slow responses to test loading states and timeouts

Installation & Usage

npm install -g mock-api-studio
mock-api-studio

The app starts a local Node server with a web-based GUI where you can create and manage your mock API endpoints.

Options

Options:
  -p, --port <port>         Port to run the server on (default: "3000")
  -m, --mock-port <number>  Port for the mock server (default: "4000")
  --no-open                 Do not automatically open the browser
  -h, --help                Display help for command

Local Development

Prerequisites: Node.js v20+ and npm

Setup:

git clone https://github.com/talevv/mock-api-studio
cd mock-api-studio
npm ci

Run development server:

npm run dev

Build:

npm run build
npm start

Testing as a global npm package

Build the project and link it globally:

npm run build
npm link

Now you can run mock-api-studio from any directory as if it were installed from npm.

To unlink when done:

npm unlink -g mock-api-studio

Coming Soon

  • Collections/Projects – Organize endpoints into logical groups
  • HTTP Interceptor – Capture and analyze requests to your mock API

Start mocking APIs instantly without any setup.

About

A GUI-based utility for creating, managing, and running mock APIs. Design realistic mock endpoints without writing code.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors