Getting Started
Adminto React is created using Create React App (CLI).
In case if you don't know - Create React App is a tool built by Facebook to help developers build react applications with simply just one command. It set up and configures everything automatically and so you don't need to configure anything manually (e.g. No need to install and configure tools like webpack or babel). they are preconfigured by creating react app.
Prerequisites
Please follow the below steps to install and setup all prerequisites:
- Nodejs
Make sure to have the Node.js installed & running in your computer. If you already have installed nodejs on your computer, you can skip this step
- Yarn
Make sure to have the Yarn installed & running in your computer. If you already have installed yarn on your computer, you can skip this step
- Git
Make sure to have the Git installed & running in your computer. If you already have installed git on your computer, you can skip this step
Installation
To setup Adminto React, follow the below-mentioned steps:
- Install Prerequisites
Make sure to have all the above prerequisites installed & running on your computer
- Install Dependencies
Open your terminal, go to your folder and enter the command
yarn
. This would install all required dependencies innode_modules
folder. And now, you are ready to run the Adminto React for the first time.
After you finished with above steps, you can run the following commands to run project locally or build for production use:
Command | Description |
---|---|
yarn start |
Runs the project locally, starts the development server and watches for any changes in your code, including your components, sass, etc. The development server is accessible at http://localhost:3000. |
yarn build |
It will create a build folder inside your folder. It bundles React with production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. Your app is now ready to be deployed. |