Let’s say that you need to develop a REST client (e.g. mobile app, web client, web SPA or a desktop thin client) and you need some endpoints to use. The usual problem in this case is that you need to start to develop the server before you can show something to the end user. MockJSONAPI server solves this problem giving to the developer a bare-bone REST server with the standard CRUD interface. The data are stored into a single JSON file.
MockJSONAPI is a mock server for a generic JSON API. It is built with Delphi and delphimvcframework. Can be used with any client technology and language (e.g. the server unit tests are in Python). When mockjsonapi server receives a requests it matches the request against the data.json that have been configured.
MockJSONAPI Server is a quite simple project but is really useful for all the developers that have to work with RESTful APIs.
More details and info at the project page.
FPC 3.0.4 and Lazarus 1.8 build (win64):
FPC 3.0.4 and Lazarus 1.8 build (linux64):
FPC 3.0.4 and Lazarus 1.8 build (macosx64):
Delphi XE 10.2 Tokyo build (win64):