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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 8 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,18 @@
## Accurate Software
## Api Joke

<img src="https://accurate.com.br/wp-content/uploads/2020/06/logo-accurate-300.svg" alt="drawing" width="200"/>
> Aplicação que consiste em trazer 10 piadas aleatórias, para isso foi realizado o consumo de uma Api https://v2.jokeapi.dev/joke!
Utilizei a biblioteca React como desafio! Criei duas páginas e dois componentes para listagem!

Seja bem-vindo a [Accurate Software](https://accurate.com.br).
## Instruções para rodar aplicação!

Temos diversas vagas para desenvolvedores: Frontend, Backend e Fullstack!
1. Clonar aplicação;

> 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!
2. Ir para a pasta accurate-software.github.io/my-app;

## Instruções
3. npm install;

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

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 :)
1 change: 1 addition & 0 deletions my-app/.eslintcache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"/Users/millenagomes/accurate-software.github.io/my-app/src/index.js":"1","/Users/millenagomes/accurate-software.github.io/my-app/src/reportWebVitals.js":"2","/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/index.js":"3","/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/List/index.js":"4","/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/Home/index.js":"5","/Users/millenagomes/accurate-software.github.io/my-app/src/Api/index.js":"6","/Users/millenagomes/accurate-software.github.io/my-app/src/App.js":"7","/Users/millenagomes/accurate-software.github.io/my-app/src/Components/index.js":"8","/Users/millenagomes/accurate-software.github.io/my-app/src/Components/Joke/index.js":"9"},{"size":500,"mtime":1611292737187,"results":"10","hashOfConfig":"11"},{"size":362,"mtime":1609732107504,"results":"12","hashOfConfig":"11"},{"size":84,"mtime":1611292368965,"results":"13","hashOfConfig":"11"},{"size":930,"mtime":1611808568846,"results":"14","hashOfConfig":"11"},{"size":1403,"mtime":1611809550174,"results":"15","hashOfConfig":"11"},{"size":516,"mtime":1611293443306,"results":"16","hashOfConfig":"11"},{"size":472,"mtime":1611292819483,"results":"17","hashOfConfig":"11"},{"size":42,"mtime":1611296397510,"results":"18","hashOfConfig":"11"},{"size":688,"mtime":1611807289926,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"6mpz6p",{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"/Users/millenagomes/accurate-software.github.io/my-app/src/index.js",[],["39","40"],"/Users/millenagomes/accurate-software.github.io/my-app/src/reportWebVitals.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/index.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/List/index.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/Pages/Home/index.js",["41","42"],"/Users/millenagomes/accurate-software.github.io/my-app/src/Api/index.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/App.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/Components/index.js",[],"/Users/millenagomes/accurate-software.github.io/my-app/src/Components/Joke/index.js",[],{"ruleId":"43","replacedBy":"44"},{"ruleId":"45","replacedBy":"46"},{"ruleId":"47","severity":1,"message":"48","line":44,"column":11,"nodeType":"49","endLine":44,"endColumn":72},{"ruleId":"47","severity":1,"message":"48","line":47,"column":11,"nodeType":"49","endLine":47,"endColumn":80},"no-native-reassign",["50"],"no-negated-in-lhs",["51"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXOpeningElement","no-global-assign","no-unsafe-negation"]
23 changes: 23 additions & 0 deletions my-app/.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*
70 changes: 70 additions & 0 deletions my-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# 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/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Loading