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

tavinho #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
58 changes: 19 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,26 @@
# Desafio Frontend
# foton

Clone este repositório e comece já o nosso desafio.
Book search built with Vue.js. Live here: https://loving-dijkstra-2cf07e.netlify.app/#/home

Use React ou RN dependendo da vaga que você estiver tentando.

OBS: Caso tenha alguma dúvida em relação ao teste é só nos mandar sua pergunta no canal #challenge-foton do Slack do [React Brasil](https://react-brasil-slack.herokuapp.com/).

## API

Use a api do [google books](https://developers.google.com/books/docs/v1/using) para os dados da tela.

```js
const query = 'harry potter';
fetch(`https://www.googleapis.com/books/v1/volumes?q=${query}`);
## Project setup
```
npm install
```

OBS: Pode ser utilizado a forma de chamada de apis de sua preferencia (fetch, axios, etc).

## Design/Telas
https://www.figma.com/file/KFElqzD983WNyvMY1SaF0c/book-app?node-id=0%3A1

<img width="581" alt="Screen Shot 2021-04-13 at 10 19 47" src="https://user-images.githubusercontent.com/13947203/114559257-eb55ad00-9c41-11eb-9617-4e7627cc373e.png">


O design do site consiste em 3 telas, sendo elas:

### Home

1. Crie a tela pixel perfect com base no design acima
2. Os livros precisam ser clicáveis para mostrar a tela de detalhes

### Search

Nesta tela é **obrigatório** que o usuário tenha possibilidade de:

1. Ver a lista dos livros baseado na busca;
2. Possibilitar buscar mais livros com um botão no estilo "Load more";
3. Buscar livros pelo nome;
4. Clicar em um dos livros para ver seus detalhes.
### Compiles and hot-reloads for development
```
npm run serve
```

### Detalhes do Livro
### Compiles and minifies for production
```
npm run build
```

Nesta tela é **obrigatório** que o usuário tenha possibilidade de:
### Lints and fixes files
```
npm run lint
```

1. Ver as informações completas do livro selecionado;
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
1 change: 1 addition & 0 deletions dist/css/app.ca7ff015.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-007823e6.8d150e11.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-1ac90221.ea346cf4.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-22b26740.25377dd0.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-32fac103.90317ee4.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-396b7215.f7cc13cb.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.main-page{padding-bottom:65px}.main-page .header{margin-top:50px}
1 change: 1 addition & 0 deletions dist/css/chunk-3de09b12.5bd57cd8.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-5a51e79f.b24cb46e.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-5bd22052.016fbc6c.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-6f56e0e5.17d7f270.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/css/chunk-78f37604.35e8a930.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading