summaryrefslogtreecommitdiff
path: root/react/07-react-router/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'react/07-react-router/README.md')
-rw-r--r--react/07-react-router/README.md18
1 files changed, 18 insertions, 0 deletions
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