Commit 83bbda80 authored by Merekeyev Dias's avatar Merekeyev Dias

added basic readme, changed main route to /organizations

parent 74485741
/ - home page # Пользовательские интерфейс проекта "ESYTD" на основе библиотеки React.
/auth - auth
/add - add organization Интерфейс проекта "ESYTD" написан с помощью библиотеки React, и дополнительных инструментов: Redux, RTK Query, Typescript и Ant design.
/edit - edit organizaton
/requests - requests page ### Структура приложения
\ No newline at end of file
Приложение состоит из 3 страниц:
- /organizations - информация об организациях в виде таблицы;
- /requests - информация о запросах;
- /auth - авторизация через токен;
> Невозможно получать данные, изменять, или удалять их без токена.
\ No newline at end of file
...@@ -31,7 +31,8 @@ const App: React.FC = () => { ...@@ -31,7 +31,8 @@ const App: React.FC = () => {
</> </>
) : ( ) : (
<Route element={<AuthLayout />}> <Route element={<AuthLayout />}>
<Route path="/" element={<HomePage />} /> <Route path="/" element={<Navigate to="/organizations" />} />
<Route path="/organizations" element={<HomePage />} />
<Route path="/add" element={<AddEditPage />} /> <Route path="/add" element={<AddEditPage />} />
<Route path="/edit/:id" element={<AddEditPage />} /> <Route path="/edit/:id" element={<AddEditPage />} />
<Route path="/requests" element={<RequestPage />} /> <Route path="/requests" element={<RequestPage />} />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment