App: CLYR Stub
Developer: CLYR Inc.
Genres: Developer Tools, Productivity

A JSON file becomes the server

CLYR Stub is an application that allows you to easily create a stub server with JSON.

The configuration is very simple, you only need to edit one JSON file.

QUICK USAGE:

It's easy!

1. Edit "DATA" value in the "RESPONSE" block in the JSON of the template.
2. Run Server (The web server starts.)
3. Do curl, visit using your web browser, or visit using your application.

The written JSON data will be returned in the response.

Features:

- A JSON file becomes the stub server
  - Supports GET, POST, PUT, and DELETE methods. The response is returned in JSON.
  - If you do not specify the port number, it will be randomly selected from 8081 to 8180
  - The server will stop when you close the file

- Display request log

- Validation of request headers, request parameters, and POST data
  - You can write validation logic.

- JSON formatting
  - Select Edit menu > JSON Formatting, you can format JSON.

- Auto save
  - Once a document has been saved as a file, changes are automatically saved each time it is edited.
  - You can turn this feature off in the preferences.

- Prints with header and footer
  - In the preferences, you can choose printing with the file name, page number, and print time or not.

- Supports dark mode
  - You can manually turn dark mode on and off in the preferences. (default follows Mac settings)

Release notes:
Bug fix:
- Fixed: The line number of last line is not displayed when the last line is blank.