DEV Community

Discussion on: 73 Awesome NPM Packages for Productivity 🚀🌱

Collapse
 
ozaytsev86 profile image
Olek

Hi, did you try mockoon.com/?

Collapse
 
bias profile image
Tobias Nickel

mocknoon is looks good, with trdb I try to hit a different audience.

As I understand it, frontend or api consumer can test against this mock servers. A little like json-server but for defining specific api responses instead of the rest-json-file database.

with trdb the backend develoer can instandly start implementing the backend, including sessions, authentication, permissions,... and later it is trivial to change the code to a sophisticated db, with hopefully minimal code changes.

I developed it, to study oauth, implement an authenticatio service (login with), an app that the user want to login, and an api service, that the user grand the app access to.

And for these studying purpose, I figured a json file db module that bahave like a real db, would be awesome.