backend init

This commit is contained in:
Nikolai Petukhov
2024-09-28 12:51:59 +03:00
parent 876ef28221
commit a3484f4525
7 changed files with 64 additions and 0 deletions

View File

@@ -3,8 +3,14 @@ import { BrowserRouter } from 'react-router-dom';
import { Dashboard } from './dashboard';
import { getConfigValue } from "@brojs/cli";
import './index.css'
const BASE_API_URL = getConfigValue("enterfront.api");
// fetch(`${BASE_API_URL}/books/list`)
const App = () => {
return(
<BrowserRouter>