Git Product home page Git Product logo

react-shoppe-demo's Introduction

Reactshoppe

Running FullStory in a React + Redux + TypeScript application.

image

Reactshoppe uses Create React App. FullStory is installed with the Browser SDK on NPM.

Setup

  • You'll need to have node.js installed on your machine and you'll need a FullStory account.
  • Once you've cloned this repo, cd into the root of the project (the same directory with the package.json file).
  • Run npm install
  • Copy the .env_sample file to .env and update the REACT_APP_FULLSTORY_ORG with your FullStory Org Id. Find out how to get your Org Id here.

Getting Started

Run either npm start or yarn start to start up Reactshoppe on your machine (most likely running at http://localhost:3000/). FullStory will start recording right away. You can login to your account and look for your session. Sometimes it might take a minute for your very first session to show up.

Go Shoppe-ing

Reactshoppe is a very simple fake ecommerce site. You can add products to your cart from the product grid, edit your shoppe-ing cart, and checkout. No data is transacted and no products are purchased. This is all for fun.

Privacy Controls

During replay, you'll notice that the checkout form has billing and payment fields blocked.

FullStory privacy controls

These are FullStory's privacy controls in action. Learn more about how privacy controls work here.

Bonus Features

Every Redux action is logged to the FullStory console using the FS.log() function. You can view the action sequence in the FullStory Console during replay to help troubleshoot any issues that might be related to data flow:

  • Actions running out of sequence
  • Actions not occuring at all

Reactshoppe record Redux actions

This uses the recordAction middleware included in the source code.

react-shoppe-demo's People

Contributors

dependabot[bot] avatar jhump avatar patrick-fs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.