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-end
directory globally:cd front-end
-
Install npm (Node.js package manager) by running the following command:
npm install
-
Install
react-router-dom
dependency:npm install react-router-dom
-
Install
react-bootstrap
andbootstrap
dependencies:npm install react-bootstrap bootstrap
-
Install
jwt-decode
dependency:npm install jwt-decode
-
Install
axios
dependency:npm install axios
-
Install
react-icons
dependency:npm install react-icons
Once the above steps are completed, you can run the front-end application:
npm start
This 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.