Skip to content
Open

Dev #10

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
b92ac19
[feat] github store
vellun Apr 6, 2025
8a79140
[feat] github page by id store
vellun Apr 6, 2025
d2f3419
[feat] add root store
vellun Apr 6, 2025
a83a80b
[feat] add search by org name
vellun Apr 7, 2025
9d986c0
[feat] add filters
vellun Apr 7, 2025
c46b794
[feat] pagination
vellun Apr 7, 2025
8278390
[fix] imports/exports
vellun Apr 7, 2025
743c450
Merge pull request #1 from vellun/hw-3
vellun Apr 7, 2025
f140f94
[ref] styles
vellun Apr 8, 2025
e90da53
[ref] add Layout component
vellun Apr 8, 2025
e350385
[ref] routes
vellun Apr 9, 2025
10abb0d
[feat] back button
vellun Apr 9, 2025
cc76b7f
[fix]
vellun Apr 9, 2025
f6c5167
[fix] mobx errors
vellun Apr 9, 2025
f37bdeb
[fix] styles
vellun Apr 10, 2025
74ff40f
[fix] cards styles
vellun Apr 10, 2025
859840c
[ref] unused styles
vellun Apr 10, 2025
3240457
[ref] util for requests, collection class, update repoStore
vellun Apr 11, 2025
9b683fe
[ref] routes
vellun Apr 12, 2025
7d1f036
[ref] filters, stores, add stores reactions
vellun Apr 13, 2025
664e37e
[feat] pagination store
vellun Apr 13, 2025
6847b0a
[ref]
vellun Apr 13, 2025
5bb67a6
[fix & ref] styles
vellun Apr 13, 2025
837b642
[ref] extend stores with interface
vellun Apr 13, 2025
da28e3f
[fix] back button
vellun Apr 13, 2025
221c8e7
Merge pull request #2 from vellun/hw-4
vellun Apr 16, 2025
fd7204b
[feat] users, filters, search, users repos
vellun Apr 21, 2025
1bc47b7
[feat] search by users repos
vellun Apr 21, 2025
e22f56f
[feat] init auth
vellun Apr 21, 2025
6de123f
[feat] display last seen repos
vellun Apr 21, 2025
a93a603
[fix] styles
vellun Apr 21, 2025
ebb5cd9
[feat] languages section
vellun Apr 22, 2025
93778f6
[fix] loaders
vellun Apr 22, 2025
d1bd9b3
Merge pull request #3 from vellun/hw-4
vellun Apr 22, 2025
3645d1c
[fix] vite config
vellun Apr 22, 2025
e4e384f
Merge branch 'master' of https://github.com/vellun/github-client
vellun Apr 22, 2025
1088afe
[fix]
vellun Apr 22, 2025
ba3da41
[fix]
vellun Apr 22, 2025
4e23738
[build]
vellun Apr 22, 2025
9ed32e5
[fix] routes
vellun Apr 22, 2025
b19cdcf
[build] gh workflows
vellun Apr 22, 2025
532e9ed
[fix] workflows
vellun Apr 22, 2025
2e7a48f
[build] wf
vellun Apr 22, 2025
34e84bd
[fix]
vellun Apr 22, 2025
c71b409
[fix] wf
vellun Apr 22, 2025
ca38961
Update deploy.yml
vellun Apr 22, 2025
dbb6159
Update deploy.yml
vellun Apr 22, 2025
731e4cd
[fix]
vellun Apr 22, 2025
1a3706f
Merge branch 'master' of https://github.com/vellun/github-client
vellun Apr 22, 2025
f5518dd
test
vellun Apr 22, 2025
3c7746e
fix
vellun Apr 22, 2025
5cb3e8b
[fix] wf
vellun Apr 22, 2025
4f3cf78
fix
vellun Apr 22, 2025
2f3e49a
fx
vellun Apr 22, 2025
d3fdca3
oh god
vellun Apr 22, 2025
372466a
trying
vellun Apr 22, 2025
386a2aa
[fix] routes
vellun Apr 22, 2025
886bdaa
[build] update
vellun Apr 22, 2025
0fdf69d
[fix] hash router
vellun Apr 22, 2025
5755adf
init readme
vellun Apr 22, 2025
96bca9c
[ref] filters store
vellun Apr 23, 2025
1ba500f
[fix] build
vellun Apr 23, 2025
279fd6b
[ref] stores
vellun Apr 23, 2025
4eb3b66
[feat] firebase auth via github
vellun Apr 24, 2025
43c3a95
Merge branch 'master' into features
vellun Apr 24, 2025
79d7ede
Merge pull request #4 from vellun/features
vellun Apr 24, 2025
7c5da8c
[feat] init side panel
vellun Apr 24, 2025
d304183
[feat] current user profile
vellun Apr 24, 2025
4de9da6
[fix] styles
vellun Apr 24, 2025
bfcf7d8
[feat] create repo
vellun Apr 25, 2025
71f9db3
[feat] show local repos on profile page
vellun Apr 25, 2025
b459898
Merge branch 'features' of https://github.com/vellun/github-client in…
vellun Apr 25, 2025
60bf30f
Merge pull request #5 from vellun/features
vellun Apr 25, 2025
c25cec4
[build] update
vellun Apr 25, 2025
cf7cfa1
[fix] user profile styles
vellun Apr 25, 2025
77f443b
[build]
vellun Apr 25, 2025
d0b4e6c
Merge pull request #6 from vellun/features
vellun Apr 25, 2025
d7c0e0b
Merge branch 'master' into features
vellun Apr 25, 2025
ce6e575
Merge pull request #7 from vellun/features
vellun Apr 25, 2025
1268ef6
[fix] query params
vellun Apr 25, 2025
cc18d2f
[fix] queries
vellun Apr 25, 2025
4b22606
[fix] queries
vellun Apr 25, 2025
f5bfdb2
[build]
vellun Apr 25, 2025
805b311
Merge branch 'master' into fixes
vellun Apr 25, 2025
1e59cf6
Merge pull request #8 from vellun/fixes
vellun Apr 25, 2025
87c98c6
[ref] sidebar
vellun May 1, 2025
57b6472
[ref] reusable sidebar
vellun May 1, 2025
26e343c
[fix] ts errors
vellun May 1, 2025
5ddc3b5
[fix] readme files display correctly
vellun May 2, 2025
68d7032
[fix] background on detail page
vellun May 2, 2025
0624661
[feat] all repos page adaptive
vellun May 3, 2025
8274000
[build]
vellun May 3, 2025
0dd3a91
[feat] repo detail page adaptive
vellun May 3, 2025
a490cb6
[feat] init dark theme
vellun May 4, 2025
e86462a
[feat] adaptive pagination element
vellun May 4, 2025
86f8a14
[fix] query params
vellun May 4, 2025
919395f
[feat] dark theme
vellun May 5, 2025
26e6cc4
[ref] stores
vellun May 5, 2025
9d570f1
[ref & fix] stores
vellun May 6, 2025
852d299
[ref] pagination component
vellun May 6, 2025
d8e9a84
[feat] save theme in local storage
vellun May 6, 2025
7878c2e
[build]
vellun May 6, 2025
b259ca3
[feat] scroll on top
vellun May 6, 2025
03a3ac6
[fix]
vellun May 6, 2025
7c53e3e
[fix] profile page adaptive
vellun May 6, 2025
bcbca1c
[feat] notifications
vellun May 8, 2025
a512ec0
[build] webpack
vellun May 12, 2025
68c4aeb
Merge pull request #9 from vellun/feature/webpack
vellun May 12, 2025
25b52f9
[ref]
vellun May 12, 2025
4866a7a
[fix] readme
vellun May 12, 2025
24f610f
[fix] styles and readme
vellun May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy to pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

.env

# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand Down
128 changes: 77 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,80 @@
# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

```js
export default tseslint.config({
extends: [
// Remove ...tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
![Иллюстрация к проекту](for_readme/preview.png)

![react version](https://img.shields.io/badge/react-19.0.0-brightgreen)
![react-router-dom version](https://img.shields.io/badge/react--router--dom-7.5.0-brightgreen)
![sass version](https://img.shields.io/badge/sass-1.86.0-brightgreen)
![mobx version](https://img.shields.io/badge/mobx-6.13.7-brightgreen)
![eslint version](https://img.shields.io/badge/eslint-9.21.0-brightgreen)
![webpack version](https://img.shields.io/badge/webpack-5.99.8-brightgreen)

Потыкать можно -> ✨[здесь](https://vellun.github.io/github-client)✨ <-

- [Что реализовано](#что-реализовано)
- [1. Поиск и фильтрация](#1-поиск-и-фильтрация)
- [2. История просмотров](#2-история-просмотров)
- [3. Аутентификация](#3-аутентификация)
- [4. Страница профиля](#4-страница-профиля)
- [5. Адаптив и тёмная тема](#5-адаптив-и-тёмная-тема)
- [Локальный запуск](#запуск-проекта)
- [1. Клонировать проект](#1-клонировать-проект)
- [2. Перейти в директорию проекта](#2-перейти-в-директорию-проекта)
- [3. Установить зависимости](#3-установить-зависимости)
- [4. Запустить](#4-запустить)

![Иллюстрация к проекту](for_readme/screen.png)

## Что реализовано

### 1. Поиск и фильтрация:

- Поиск репозиториев и пользователей
- Фильтрация результатов по различным параметрам

### 2. История просмотров:

- Сохранение и отображение последних просмотренных репозиториев; реализовано через LocalStorage

### 3. Аутентификация

- Аутентификация через GitHub; реализовано через Firebase

### 4. Страница профиля:

- Отображение информации о пользователе и его репозиториях
- Возможность поиска и фильтрации по репозиториям пользователя

### 5. Адаптив и тёмная тема

![Иллюстрация к проекту](for_readme/phone-screen.png)

## Локальный запуск

### 1. Клонировать проект

```bash
git clone https://github.com/vellun/github-client
```

### 2. Перейти в директорию проекта

```bash
cd github-client
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
plugins: {
// Add the react-x and react-dom plugins
'react-x': reactX,
'react-dom': reactDom,
},
rules: {
// other rules...
// Enable its recommended typescript rules
...reactX.configs['recommended-typescript'].rules,
...reactDom.configs.recommended.rules,
},
})
### 3. Установить зависимости

```bash
yarn install
```

### 4. Запустить

```bash
yarn start
```

По умолчанию приложение будет доступно на порту 3000

```bash
http://localhost:3000
```
12 changes: 12 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
}
4 changes: 4 additions & 0 deletions build/4f79c7fafd25c3002842.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/6cd35edfbc0d7a417131.woff2
Binary file not shown.
10 changes: 10 additions & 0 deletions build/79c879ba62b8c1d4a12e.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions build/96a74902d342e68398a1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/a25806274237d06e00a6.woff2
Binary file not shown.
7 changes: 7 additions & 0 deletions build/c410233389a1e4104d3b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading