diff --git a/nodemon.json b/nodemon.json new file mode 100644 index 0000000000000000000000000000000000000000..ed8c053300e9d8adcab633c4137671a632662d29 --- /dev/null +++ b/nodemon.json @@ -0,0 +1,6 @@ +{ + "watch": ["src/server"], + "env": { + "NODE_ENV": "development" + } +} \ No newline at end of file diff --git a/src/client/src/MainRouter.jsx b/src/client/src/MainRouter.jsx index 3e2cc118170253c1cf680aca2b22800c1d3c688c..5653606d5b6a53041b53cf8410fef2ba214e8ea3 100644 --- a/src/client/src/MainRouter.jsx +++ b/src/client/src/MainRouter.jsx @@ -3,6 +3,8 @@ import { Route, Switch } from "react-router-dom"; import Signin from "./auth/Signin"; import Home from "./core/Home"; import Menu from "./core/Menu"; +import NewQuiz from './quiz/NewQuiz' +import Quiz from './quiz/Quiz' function MainRouter() { return ( @@ -16,6 +18,12 @@ function MainRouter() { + + + + + + // diff --git a/src/client/src/core/Menu.jsx b/src/client/src/core/Menu.jsx index 19ec0275dcf1cdfe8d0d4f769f10d3d3ed8575ef..5927f80d7d3e4f6a5747d639f066f7c77ea2714d 100644 --- a/src/client/src/core/Menu.jsx +++ b/src/client/src/core/Menu.jsx @@ -14,13 +14,13 @@ function Menu() { return ( - +