sidekickserver
v0.0.2
Published
Debug, track, intercept and change your apps API requests on the fly
Downloads
1
Readme
Sidekick Server
Heads up, this project is in a very early development phase
Debug, track, intercept and change your apps API requests on the fly
Sidekick Server can be installed into your application directory and works as a development and debugging tool for your web applications API.
It captures HTTP/s requests locally and forwards them to your real API. Every request and every response will be passed to a middleware chain where you can track, debug, intercept and change everything at your wish.
Use cases are plenty:
- Simulate "bad responses", eg. status 404, 500
- Simulate timeouts (server is down)
- Simulate missing data fields
- Work with future data structure before it is even implemented in the API
Ideas I have and want to add in the future:
- "Record" API responses in order to be able to go offline
- Measure the speed of your API responses to detect bottlenecks
- Measure the size of your requests and responses for performance optimization
- Provide a UI to observe your apps data flow and create, add and remove middlewares on the fly
- Create typescript types by looking at the API requests and responses
- Provide interfaces for tools like cypress for integration test scenarios