-
Notifications
You must be signed in to change notification settings - Fork 0
getting started
In order to get started you will need a BugReplay account with FullStack enabled.
If you're interested in the demo app and want to try it out or look at the example code you can just fork and clone this repository. Then cd into bugreplay-fullstack-example and run the following command:
npm install
And on two different shell tabs do:
npm run start
to run the api code that will mimic your server code and
npm run start-demo
if you need the react frontend to test your calls
This will run an express server on localhost:8000 (and if you choose to run the demo also a react app on localhost:3003). To reach the express server from your BugReplay web app it will need to be on a reachable url so you could either use a tunnel like ngrok.io or you could very easily deploy it online on a service like heroku.com
The code you are looking for is most probably here which has an example of both the "callback" and "send" methods you are going to need to implement on your own backend. The provided examples are in javascript but more code samples are provided in the documentation.