Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semana 8 - Página do perfil de Aluno e Atualização do README. #40

Merged
merged 80 commits into from
Nov 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
b125333
created Profile route
davigps Oct 27, 2020
332ec5d
eager relationship added on models
davigps Oct 28, 2020
bf6a6ce
divisionByZero error removed
davigps Oct 28, 2020
f63e813
repository commit became optional
davigps Oct 28, 2020
366348e
useless console.log removed
davigps Oct 28, 2020
8dc7a4e
Repository Controller added and repositories route added
davigps Oct 28, 2020
c937c76
cron schedule fixed
davigps Oct 28, 2020
fdd56e8
inappropriate eager relations loading removed
davigps Oct 28, 2020
60486c0
Merge pull request #30 from Guardians-DSC/getStudentInfoRoutes
Oct 29, 2020
1a3d368
add student input container changed to form container
davigps Oct 29, 2020
2e552b4
Merge branch 'development' of github.com:Guardians-DSC/GitRadar into …
davigps Oct 29, 2020
208cf2a
profile page header added
davigps Oct 30, 2020
ede73ba
getStudentReport callback added
davigps Oct 30, 2020
66125fe
getRepositories callback added
davigps Oct 30, 2020
0420d12
show informations html added
davigps Oct 30, 2020
a11376a
DailyReport Controller added
davigps Oct 30, 2020
df630e5
RepositoryController removed and DailyReportController created
davigps Oct 30, 2020
5070dd3
getStudentInfo added
davigps Oct 30, 2020
f87b40b
report informations added
davigps Oct 30, 2020
0863301
List Component added
davigps Oct 31, 2020
69e9259
profile lists added
davigps Oct 31, 2020
8f818df
informations styles finished
davigps Oct 31, 2020
d8fa77c
List Items links added
davigps Oct 31, 2020
90f3577
Header Logo link to /dashboard added
davigps Oct 31, 2020
b323621
layout and acessibility issues fixed
davigps Oct 31, 2020
36a45bf
student existence check added
davigps Oct 31, 2020
e0f4692
Merge pull request #32 from Guardians-DSC/fix/storeStudentController
Oct 31, 2020
51acbb9
profile photo link added
davigps Oct 31, 2020
87aeb89
Merge pull request #31 from Guardians-DSC/createProfilePage
Oct 31, 2020
6bc398e
Minor fix: async function
AntonioNtV Oct 31, 2020
9189542
hotfix: commitReport foreignKey revert fixed
davigps Nov 3, 2020
2302071
fix: removing unused query
AntonioNtV Nov 3, 2020
8c38590
Merge branch 'development' of https://github.com/Guardians-DSC/GitRad…
AntonioNtV Nov 3, 2020
9680fb8
react-charts package added
davigps Nov 3, 2020
80fb59d
Chart Container added
davigps Nov 3, 2020
7e5a0b6
react-charts removed
davigps Nov 3, 2020
5d4877f
recharts added
davigps Nov 3, 2020
f8ff792
Interactions volume route
AntonioNtV Nov 3, 2020
66abe2e
Parsing interactions volume data
AntonioNtV Nov 4, 2020
97ad5e2
Merge pull request #33 from Guardians-DSC/feaure/interactions_volume
Nov 4, 2020
b218850
Profile Interactions Chart added
davigps Nov 4, 2020
9a9853d
Merge branch 'development' of github.com:Guardians-DSC/GitRadar into …
davigps Nov 4, 2020
aff6d6d
getInteractionsVolume callback finished
davigps Nov 4, 2020
3a9e01a
dailyReports order in GetInteractionsVolume Service added
davigps Nov 4, 2020
e5827ed
added full width chart
davigps Nov 4, 2020
cc17074
hide scrollbar funcionality added to Chrome and Firefox
davigps Nov 4, 2020
d5d0c89
Creating singleLineChartComponent
AntonioNtV Nov 4, 2020
9e751f3
Improving single line chart style
AntonioNtV Nov 4, 2020
62b2783
Merge pull request #34 from Guardians-DSC/feature/ProfileGraphic
Nov 4, 2020
b470a81
Minor fix
AntonioNtV Nov 4, 2020
7585263
Removing unused styles
AntonioNtV Nov 4, 2020
94d908b
Merge pull request #35 from Guardians-DSC/feature/chartComponent
davigps Nov 4, 2020
224ef88
Improving single line chart style
AntonioNtV Nov 4, 2020
a5a2261
Merge pull request #37 from Guardians-DSC/feature/chartComponent
davigps Nov 4, 2020
6ed10c8
hotfix: minor prettier issues fixed
davigps Nov 4, 2020
9e4553e
Route to get line growth
AntonioNtV Nov 4, 2020
578e568
Merge branch 'development' of https://github.com/Guardians-DSC/GitRad…
AntonioNtV Nov 4, 2020
83303db
Improving chart use
AntonioNtV Nov 4, 2020
a26bf93
Rename component
AntonioNtV Nov 4, 2020
fe3b2c3
Rename component
AntonioNtV Nov 4, 2020
837b40b
Rename component
AntonioNtV Nov 4, 2020
a6d7829
Impoving singleLineChart
AntonioNtV Nov 4, 2020
6a4f849
SimpleBarChart component added
AntonioNtV Nov 4, 2020
00d41b3
Minor fix: fixing component name
AntonioNtV Nov 4, 2020
15446d0
SimpleBarChart for gains and losses of lines
AntonioNtV Nov 4, 2020
368a1de
Minor changes: auto closed tag
AntonioNtV Nov 4, 2020
f0fde3c
Improving simpleBarChart
AntonioNtV Nov 4, 2020
8ea12d3
Removing unused imports
AntonioNtV Nov 4, 2020
70350b0
Refining style
AntonioNtV Nov 4, 2020
9310d30
hotfix: prettier issues fixed on frontend
davigps Nov 4, 2020
1c3ea39
Merge branch 'feature/lineGrowhtChart' of github.com:Guardians-DSC/Gi…
davigps Nov 4, 2020
0c536a7
deletions value changed to absolute value
davigps Nov 4, 2020
22c187a
Merge pull request #38 from Guardians-DSC/feature/lineGrowhtChart
davigps Nov 4, 2020
85d8506
backend readme created
davigps Nov 6, 2020
7afffe3
screenshots added on readme
davigps Nov 6, 2020
d3cb102
all backend endpoints added
davigps Nov 6, 2020
7564639
main README updated
davigps Nov 6, 2020
1ffd689
Frontend README added
davigps Nov 6, 2020
89a6e66
Merge pull request #39 from Guardians-DSC/updateREADME
Nov 6, 2020
c188060
hotfix: lines/volume route documentation return fixed
davigps Nov 6, 2020
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
123 changes: 17 additions & 106 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,122 +4,33 @@
## 📝 Sumário

- [Sobre](#sobre)
- [Iniciando](#iniciando)
- [Modo de uso](#uso)
- [Endpoints da API](#endpoints)
- [Instruções - Backend](./backend/README.md)
- [Endpoints da API](./backend/README.md#endpoints)
- [Instruções - Frontend](./frontend/README.md)
- [Observações](#observacoes)
- [Screenshots](#screenshots)

## 🧐 Sobre <a name = "sobre"></a>

### Qual a motivação?
A ideia do GitRadar surgiu da necessidade dos professores de gerarem relatórios de utilização da plataforma do github pela turma da disciplina. Fazendo assim um maior acompanhamento e monitorar mais de perto alunos que estejam com poucas interações com a plataforma, por exemplo.

### Objetivo do projeto <br>
Ser uma plataforma no qual os professores poderão se cadastrar e criar turmas. Os alunos cadastrados no sistemas poderão se linkar com a turma através de um QRCODE gerado pelo professor. <br>
Através dessas turmas, os professores poderão gerar relatórios do estado da turma. Trazendo dados como Engajamento médio com a plataforma e alunos com baixo engajamento. Além de poder traçar um perfil médio da turma.

## 🏁 Iniciando <a name = "iniciando"></a>

Você pode clonar o respositório com o git, com o seguinte comando:
```
git clone https://github.com/Guardians-DSC/GitRadar.git
```

### Pré-requisitos

Você precisará de NodeJS e Yarn (para facilitar o processo) no seu computador. <br>
- [NodeJS](https://nodejs.org/en/download/) <br>
- [Yarn](https://yarnpkg.com/getting-started/install)

### Instalando

No terminal, abra a pasta do projeto.
```
cd GitRadar
```
Então, digite:
```
yarn
```
Pronto! Tudo está configurado para você começar a usar o projeto.


## 🚀 Modo de uso <a name = "uso"></a>
## ✅ Observações <a name = "observacoes"></a>
O projeto contém um repositório para o Backend e outro para o Frontend da aplicação. Os README's específicos de cada repositório podem ser encontrados em suas respectivas pastas. Lá você encontrará as instruções de uso e desenvolvimento.
- [Ir para o README do Backend](./backend/README.md)
- [Ir para o README do Frontend](./frontend/README.md)

Você pode iniciar o servidor local de desenvolvimento, com o seguinte comando:
```
yarn dev:server
```
## 📸 Screenshots <a name = "screenshots"></a>

# 🔎 Endpoints da API <a name = "endpoints"></a>
#### Dashboard de uma Turma:
![dashboard](https://user-images.githubusercontent.com/40612788/98311926-54f4cf80-1faf-11eb-8962-c1a7a887981f.png)

## Obter perfil:
```
GET /user/:username
```
Use essa rota para obter informações sobre o perfil de determinado usuário, basta substituir o parâmetro ":username" da rota pelo usuário do github correspondente, você deve receber uma resposta no seguinte modelo:
```json
{
"github_login": "davigsousa",
"avatar_url": "https://avatars0.githubusercontent.com/u/40612788?v=4",
"repositories": [
{
"name": "algorithms",
"full_name": "davigsousa/algorithms",
"description": "Some useful algorithms (Still learning and updating more).",
"html_url": "https://github.com/davigsousa/algorithms",
"created_at": "2020-05-27T14:50:25Z",
"language": "C++"
},
{
"name": "doeteca",
"full_name": "davigsousa/doeteca",
"description": "A Frontend for a Conceptual Project named Doeteca. Online on: https://doeteca.netlify.app/",
"html_url": "https://github.com/davigsousa/doeteca",
"created_at": "2020-02-17T22:01:18Z",
"language": "JavaScript"
},
],
"top_language": "JavaScript",
"top_5_languages": [
"JavaScript",
"Python",
"C++",
"CSS",
"TypeScript"
]
}
```
#### Perfil de Estudante 1/2:
![profile](https://user-images.githubusercontent.com/40612788/98311933-5aeab080-1faf-11eb-85a6-6929cd482035.png)

## Obter relatório do dia atual:
```
GET /user/daily/:username
```
Use essa rota para obter informações de interações de determinado usuário no dia atual, basta substituir o parâmetro ":username" da rota pelo usuário do github correspondente, você deve receber uma resposta no seguinte modelo:
```json
{
"new_forks": 0,
"new_issues": 0,
"new_prs": 4,
"new_stars": 0,
"new_repositories": 0,
"new_interactions": 4,
"new_commits": 32,
"commits": [
{
"repository": {
"id": 289791710,
"name": "Guardians-DSC/GitRadar",
"url": "https://api.github.com/repos/Guardians-DSC/GitRadar"
},
"message": "initial Service structure created"
},
{
"repository": {
"id": 293942092,
"name": "davigsousa/GitRadar",
"url": "https://api.github.com/repos/davigsousa/GitRadar"
},
"message": "Merge pull request #1 from davigsousa/develop\n\nCriação da Api e Criação do Profile Service"
}
]
}
```
#### Perfil de Estudante 2/2:
![profile2](https://user-images.githubusercontent.com/40612788/98311936-5d4d0a80-1faf-11eb-8268-2b98dd3623cf.png)
Loading