Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESYTD
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Дияр Амангельды
ESYTD
Commits
83bbda80
Commit
83bbda80
authored
Jul 30, 2024
by
Merekeyev Dias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added basic readme, changed main route to /organizations
parent
74485741
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
README.md
README.md
+13
-5
src/App.tsx
src/App.tsx
+2
-1
No files found.
README.md
View file @
83bbda80
/ - home page
/auth - auth
/add - add organization
/edit - edit organizaton
/requests - requests page
\ No newline at end of file
# Пользовательские интерфейс проекта "ESYTD" на основе библиотеки React.
Интерфейс проекта "ESYTD" написан с помощью библиотеки React, и дополнительных инструментов: Redux, RTK Query, Typescript и Ant design.
### Структура приложения
Приложение состоит из 3 страниц:
-
/organizations - информация об организациях в виде таблицы;
-
/requests - информация о запросах;
-
/auth - авторизация через токен;
> Невозможно получать данные, изменять, или удалять их без токена.
\ No newline at end of file
src/App.tsx
View file @
83bbda80
...
...
@@ -31,7 +31,8 @@ const App: React.FC = () => {
</>
)
:
(
<
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=
"/edit/:id"
element=
{
<
AddEditPage
/>
}
/>
<
Route
path=
"/requests"
element=
{
<
RequestPage
/>
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment