+ Moved client to subfolder and added db communication

This commit is contained in:
Alexis
2020-03-20 21:05:28 +01:00
parent c08e07f7b6
commit ef9e98641a
24 changed files with 13069 additions and 12559 deletions

21
client/src/routes.js Normal file
View File

@@ -0,0 +1,21 @@
// App router
// Pages
import index from "./pages/index";
import spells from "./pages/spells";
// Routes
const routes = [
{
path: "*", redirect: "/",
},
{
path: '/', component: index,
},
{
path: '/spells', component: spells,
}
];
export default routes;