Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

37 lines (19 loc) · 1.03 KB

It's a simple React website which uses react-router-dom for the navigation between pages and also uses axios for getting data from JSON API.

Getting Started

Check that you have reactJs working environment in your pc before using this app

Open Git Bash.

Change the current working directory to the location where you want the cloned directory.

Use this command to clone: git clone https://github.com/smzislam/SimpleRouteWithReact.git

Before run the app install react-router-dom and axios

npm install react-router-dom

npm install axios

Available Scripts

In the project directory, you can run:

yarn start or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.