ApiMock is a tool to quickly prototype RESTFul APIs. It's a work in progress, and still in very early development. At this point, it's really not useable yet. The first milestone will basically be to return static data for different URIs.
Released under the MIT license. See the LICENSE
file for details.
No. Not yet. You have to build it from source right now, and the only reason you would do that is if you're interested in working on ApiMock yourself.
- CMake v2.8.8 or higher
- npm
Windows (MSVC/VS2013) and Linux (GCC 4.9). It might build on GCC 4.8 (not sure), but it most definitely doesn't build on 4.7 due to regex issues. Also, it might build on other compilers such as Clang (not tried yet).
$ git clone git@github.com:Lavesson/api-mock.git
$ cd api-mock
$ mkdir build && cd build
$ cmake ..
$ make # Alternatively, open the Visual Studio project in this folder
- Start
apimock
from a terminal. Use the--help
flag to get a list of options as well. By default, the server starts up at localhost:8888. - Open a browser and navigate to http://localhost:8888/dashboard
Feel free to either contact me or send pull requests if you're interested in contributing to this project.