Flash (flash.siwalik.in) ![Build Status](https://camo.githubusercontent.com/0749ff237d77d6333306eb0f472018d0055307c376e0c0ee647417083783ced4/68747470733a2f2f7472617669732d63692e6f72672f736977616c696b6d2f466c6173682e7376673f6272616e63683d6d6173746572)
Flash lets you simulate a slow server response, when you make a request. This can come handy while testing how your application responds to a slow external service or API.
Right now Flash supports only GET
requests with configurable delay and URL parameters.
Using Flash is really easy. eg. On visiting https://flash.siwalik.in/delay/5000/url/api.github.com You'll be redirected to api.github.com's response after a 5000ms delay.
https://flash-the-slow-api.herokuapp.com/delay/{delay_time}
https://flash-the-slow-api.herokuapp.com/delay/{delay_time}/url/{url}
Learn more on usage here - documentation link.
$ git clone [email protected]:siwalikm/Flash.git
$ cd Flash
$ npm install
$ npm start
$ npm test
If you're using vs-code for development, I've already included the launch.json
scripts for running app and test server in debug mode.
For contributing, please raise a pull request with your code and test. You can also contribute by reporting issues and adding feature requests.
This project is available for use under the MIT software license.