Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
76 changes: 28 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,28 @@
## Accurate Software

<img src="https://accurate.com.br/wp-content/uploads/2020/06/logo-accurate-300.svg" alt="drawing" width="200"/>

Seja bem-vindo a [Accurate Software](https://accurate.com.br).

Temos diversas vagas para desenvolvedores: Frontend, Backend e Fullstack!

> Para conhecer melhor os candidatos, preparamos um desafio técnico. Não se preocupe em cumprir todos os requisitos propostos no desafio, este teste visa avaliar a sua capacidade de resolução de problemas. Abaixo serão apresentados dois desafios direcionados aos perfis frontend e backend, caso o seu perfil for voltado para fullstack fique a vontade em nos enviar uma solução completa abordando tanto frontend quanto backend!

## Instruções

1. Para começar o desafio, realize um fork no repositório: https://github.com/accurate-software/accurate-software.github.io

2. O desafio deverá set commitado no fork.

3. Após a finalização do desafio, solicite um pull request do fork no nosso repositório ;)

### Desafio Frontend

O seu desafio é realizar um desenvolvimento de uma aplicação frontend que compra os requisitos:

+ Consumo de API REST
+ CRUD ou listagem de algum recurso da API
+ Utilizar alguma API pública, podendo ser alguma do site: https://public-apis.xyz/

Vamos avaliar a sua capacidade como desenvolvedor frontend, observando os critérios:

+ Uso semântico do HTML
+ Estruturação do layout e tags CSS
+ Layout acessível e responsivo
+ Utilização de frameworks da atualizade, como: React, Vue, Angular ou algum outro de sua preferência.
+ Lembre-se de documentar a solução com um README.MD :)

### Desafio Backend

O seu desafio é realizar um desenvolvimento de uma API Rest para um site de achados e perfidos. Sua API deve conter as seguintes funcionalidades:

+ Cadastro de um "Achado"/"Perdido"
+ Atualização de histórico de um "Achado"/"Perdido"
+ Busca com opção de filtros, como por exemplo: Categoria
+ Relatório de cruzamento de informações "Achados"/"Perdidos", dado um categoria e um raio.

Fique a vontade para usar a linguagem e framework de sua preferência, como: Java, C# e Node! Porém se atente aos seguintes pontos:

+ Tratamento de erros e exceções
+ Clareza e clean code no desenvolvimento da solução
+ Documentação da solução - README.MD :)
# GitHub Repository

<p align="center">
<img alt="Autor" src="https://img.shields.io/badge/autor-Isaac%20Araujo-red"/>
<img alt="Autor" src="https://img.shields.io/badge/Status-Finalizado-%23299928"/>
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/IsaacMaciel/accurate-software.github.io?color=74b8ff" />

</p>

## :book: Sobre o Projeto

GitHub Info é uma aplicação onde é mostrada as informações principais de um repositório público do github. Basta que o usuário informe o nome do dono do repositório / o repositório. Exemplo:

```
IsaacMaciel/covid-19
```

## :rocket: Tecnologias Utilizadas

- axios
- bootstrap
- react
- react-dom
- react-modal
- react-scripts
- styled-component
- sweetalert2
- typescrip
12 changes: 12 additions & 0 deletions githubinfo/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 1 addition & 0 deletions githubinfo/.eslintcache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/App.tsx":"1","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/services/api.js":"2","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/ModalRepository/index.tsx":"3","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/Pages/login.tsx":"4","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Header/index.tsx":"5","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Content/index.tsx":"6","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/index.tsx":"7","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/routes/auth.routes.tsx":"8","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/routes/index.tsx":"9","/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Header/styles.ts":"10"},{"size":547,"mtime":1612201009365,"results":"11","hashOfConfig":"12"},{"size":123,"mtime":1611946652794,"results":"13","hashOfConfig":"12"},{"size":1833,"mtime":1612182159951,"results":"14","hashOfConfig":"12"},{"size":1070,"mtime":1612200997437,"results":"15","hashOfConfig":"12"},{"size":760,"mtime":1612200940704,"results":"16","hashOfConfig":"12"},{"size":1351,"mtime":1611949220899,"results":"17","hashOfConfig":"12"},{"size":459,"mtime":1611946652794,"results":"18","hashOfConfig":"12"},{"size":246,"mtime":1612197122125,"results":"19","hashOfConfig":"12"},{"size":345,"mtime":1612197349564,"results":"20","hashOfConfig":"12"},{"size":684,"mtime":1612198439653,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"50mlrq",{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/App.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/services/api.js",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/ModalRepository/index.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/Pages/login.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Header/index.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Content/index.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/index.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/routes/auth.routes.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/routes/index.tsx",[],"/home/zac/Documentos/projetos/accurate-software.github.io/githubinfo/src/components/Header/styles.ts",[]]
37 changes: 37 additions & 0 deletions githubinfo/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"env": {
"browser": true,
"es2020": true,
"jest": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}
23 changes: 23 additions & 0 deletions githubinfo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
7 changes: 7 additions & 0 deletions githubinfo/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 80,
tabWidth: 2,
};
6 changes: 6 additions & 0 deletions githubinfo/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
}
}
46 changes: 46 additions & 0 deletions githubinfo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
Loading