Below are the steps to run the front-end application locally. Make sure you have navigated to the front-end folder in your command-line interface (terminal).
-
Navigate to the
front-enddirectory globally:cd front-end -
Install npm (Node.js package manager) by running the following command:
npm install
-
Install
react-router-domdependency:npm install react-router-dom
-
Install
react-bootstrapandbootstrapdependencies:npm install react-bootstrap bootstrap
-
Install
jwt-decodedependency:npm install jwt-decode
-
Install
axiosdependency:npm install axios
-
Install
react-iconsdependency:npm install react-icons
Once the above steps are completed, you can run the front-end application:
npm startThis will start the development server, and you can access the running application in your browser at http://localhost:3000.
Notes Make sure the back-end service is also running and responsive before running the front-end application. If you encounter any issues, check the error messages in the terminal or console output for troubleshooting.