diff --git a/build.gradle b/build.gradle
index 05772a0..36226f9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,10 +1,10 @@
plugins {
id 'java'
- id 'org.springframework.boot' version '2.7.8'
- id 'io.spring.dependency-management' version '1.0.15.RELEASE'
+ id 'org.springframework.boot' version '3.0.2'
+ id 'io.spring.dependency-management' version '1.1.0'
}
-group = 'ru.ulstu.is'
+group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
diff --git a/data.mv.db b/data.mv.db
new file mode 100644
index 0000000..977c220
Binary files /dev/null and b/data.mv.db differ
diff --git a/front/src/App.js b/front/src/App.js
index 7074efb..1ab6930 100644
--- a/front/src/App.js
+++ b/front/src/App.js
@@ -1,4 +1,3 @@
-import Main from './components/Main.jsx';
import React from "react";
import { useRoutes, Outlet, BrowserRouter } from 'react-router-dom';
import Cars from './components/Cars.jsx';
@@ -14,10 +13,10 @@ function Router(props) {
function App() {
const routes = [
{ index: true, element: },
- { path: '/', element: , label: 'ГЛАВНОЕ' },
- { path: '/cars', element: , label: 'Сотрудники' },
- { path: '/buyers', element: , label: 'Компании' },
- { path: '/stores', element: , label: 'Должности' },
+ { path: '/', element: },
+ { path: '/cars', element: , label: 'Машины' },
+ { path: '/buyers', element: , label: 'Покупатель' },
+ { path: '/stores', element: , label: 'Магазины' },
{ path: '/buyer/:id', element: },
];
const links = routes.filter(route => route.hasOwnProperty('label'));
diff --git a/front/src/components/Buyers.jsx b/front/src/components/Buyers.jsx
index 3bc1797..03fcfa5 100644
--- a/front/src/components/Buyers.jsx
+++ b/front/src/components/Buyers.jsx
@@ -10,12 +10,12 @@ import Store from '../models/Store';
import { useNavigate } from "react-router-dom";
-export default function Buyers(props) {
+export default function Companies(props) {
const headers = [
{name: 'name', label: "Название"},
- {name: 'countCars', label: "Сотрудники"},
+ {name: 'countCars', label: "Машины"},
];
- const nameCatalog = "Компании";
+ const nameCatalog = "Покупатели";
const url = '/buyer';
const requestParams = '?name=nameData';
@@ -99,7 +99,7 @@ export default function Buyers(props) {
Название
-