Umoren / node-speedscale-demo

Sample node speedscale demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Great App: demo-node

This app has a couple of different endpoints:

  • / returns a generic response
  • /nasa will get the NASA picture of the day (as JSON)
  • /events reads some GitHub events
  • /bin calls httpbin

demo-node

After you get the application running on your machine, you're going to capture traffic with Speedscale like so:

demo-node-capture

And once you're able to process the traffic properly, you are going to replay the tests and mocks like so which lets you run numerous different scenarios and isolate yourself from the backend dependencies.

demo-node-replay

Choose Your Adventure

The next step is to get the application working in your environment. You can choose what kind of environment you want to work with and follow the specific instructions:

  • Local Environment - choose this if you have nodejs installed and want to run everything locally
  • Docker Environment - choose this if you have docker installed and want to run everything in containers
  • Something Else?? - if you are want to see instructions for a different environment, open up an issue on this project and let us know

Other Questions??

If you have questions about how to work with this demo, come by the Speedscale Community and let us know, thanks!

About

Sample node speedscale demo


Languages

Language:JavaScript 58.8%Language:Dockerfile 41.2%