This project was bootstrapped with Create React App. Animate Sort is a simple React App that sorts provided numbers or randomly generated numbers and shows an animation of the sorting process.
The main objective of this app is to animate the sorting of the entered numbers or randomly generated numbers by the selected sorting algorithm.
To get started with Animate Sort, the basic CLI commands of React required are as follows:
- To install dependencies, enter the
npm install
command in the project directory. This CLI command installs dependencies and calls theinstall
from the package.json, scripts field. - See the section about npm-install for more information.
- To start a package, enter the
npm start
command in the project directory. This CLI command starts a package and runs the app in development mode. - To view the running application, go to the URL http://localhost:3000 in the browser. The page will reload if you make edits. You can also see any lint errors in the console.
- To test a package, enter the
npm test
command in the project directory. This CLI command launches the test runner in the interactive watch mode. - See the section about running tests for more information.
- To build the app for production to the
build
folder, enter thenpm run build
command. This command correctly bundles React in production mode and optimizes the build for the best performance. This command is the plumbing command called bynpm link
andnpm install
. This CLI command runs the build field from the package.json, scripts field. The build is minified and the filenames include the hashes. Your app is ready to be deployed! - See the section about deployment for more information.
-
To remove the single build dependency from your project, enter the
npm run eject
command. This CLI command enables editing the configuration and script files. With this CLI command, either upgrade or downgrade the dependencies version on the ejected package.json file. This command will remove the single build dependency from your project.Instead, this command copies all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc.) into the project with complete access.
Note: this is a one-way operation. Once youeject
, you can’t go back!. -
To tweak the copied scripts, use all of the commands that work correctly except
eject
. At this point, you’re on your own. You don’t have to ever useeject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However, we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.