This is a react app that visualizes some of the basic sorting algorithms such as bubble sort, inserstion sort, quick sort, selection sort and cocktail sort.
- NodeJs
- yarn
- React
- Clone the repository onto your local machine.
$ git clone https://github.com/iVishalr/Sorting-Visualizer.git $ cd Sorting-Visualizer-master
- Install all dependencies.
If you do not have
$ yarn install
yarn
then typeThen rerun$ brew install yarn
$ yarn install
In your terminal, type
$ yarn start
This will start a development server on your local system.
In your terminal, type
$ yarn build
$ yarn global add serve
$ serve -s build
This will start a server on your local system. Go to http://localhost:5000
to use the optimized version of the code.
Head over to https://iVishalr.github.io/Sorting-Visualizer in Chrome browser and have a play around with different sorting algorithms.