Our great sponsors
-
bigodon
Secure Handlebars/Mustache templating for user-provided templates with async helpers support and human-friendly parsing errors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You can use Bigodon in your mocks to create templates that are evaluated with request data as context. What you write between {{ and }} allows you to access fields from the context like request.params, request.body, request.headers, request.query.
This is only possible due to Free Open Source Software, if you like the result make sure to leave Mocko and Bigodon a star on GitHub.
Related posts
- How do you practice with React without setting up your own backend?
- I Write Tests in Go
- Building Vue Components With Pug & Stylus
- What direction can I take to mocking a data structure that is relational on the front-end while I wait for backend endpoints to be created?
- What direction can I take to mock a (relational?) data-structure on the front-end while I wait for backend endpoints to be created?