From 282a6af67b7ab8cce02f9c1e517008fbd775cf93 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Wed, 1 Jul 2026 20:41:10 +0530 Subject: Added React Router sample app --- react/07-react-router/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 react/07-react-router/README.md (limited to 'react/07-react-router/README.md') diff --git a/react/07-react-router/README.md b/react/07-react-router/README.md new file mode 100644 index 0000000..707aab3 --- /dev/null +++ b/react/07-react-router/README.md @@ -0,0 +1,18 @@ +# React Router + +This sample project illustrates using the declarative mode of React Router. + +Reference: https://reactrouter.com/start/declarative/installation + +## Install + +npm install react-router + +Look at src/main.jsx, src/App.jsx + +## Running json-server during development (To serve test data via http) + +dev/db.json file contains test data. To start the json-server: + +cd dev +npx json-server db.json \ No newline at end of file -- cgit v1.2.3