|
1 | | -# **Projeto React e API's** |
2 | | -O Projeto React e APIs é um site de pokémons que possui três páginas: Home, Pokedex e Detalhes. O projeto está subdivido em temas de acordo com os conteúdos que estudado durante o Módulo 2 - Frontend. |
3 | | - |
4 | | -Este projeto terá como fonte de dados para a sua criação a [Poke Api](https://pokeapi.co/ "Poke Api"), uma Api pública, muito usada para aplicações focadas em aprendizado de programação e também usada em cases de processos seletivos. |
5 | | - |
6 | | -Os conteúdos principais a serem estudados são: |
7 | | - |
8 | | -- Integração de APIs |
9 | | -- React Router |
10 | | -- Design Systems |
11 | | -- Estado Global |
12 | | - |
13 | | -## **Enunciado** |
14 | | -É objetivo deste projeto criar um site com três páginas usando a Poke Api com as seguintes ferramentas: |
15 | | - |
16 | | -- React |
17 | | -- React Router |
18 | | -- Styled-components |
19 | | -- React Context |
20 | | -- Axios |
21 | | - |
22 | | -### **Requisitos** |
23 | | -- **Gerais:** |
24 | | - - [ ] O site deve ter 3 páginas: Home, Pokedex e Detalhes; |
25 | | - - [ ] Projeto deve seguir o [design](https://www.figma.com/file/KseyA2Ofghiek2Cy3ZaDre/Poked%C3%A9x?t=AEi3zEmWmarf1FbP-0 "design") proposto; |
26 | | - - [ ] O fluxo de trocas de páginas devem ser semelhante ao [fluxograma](https://www.figma.com/proto/KseyA2Ofghiek2Cy3ZaDre/Poked%C3%A9x?page-id=0%3A1&node-id=2%3A2&viewport=358%2C197%2C0.27&scaling=scale-down&starting-point-node-id=2%3A2 "fluxograma"); |
27 | | -- **Página Home:** |
28 | | - - [ ] Mostrar uma lista de Pokemons, contendo ao menos 20 Pokemons; |
29 | | - - [ ] Cada Pokemon será representado por um Card; |
30 | | - - [ ] Em cada card de Pokemon tem um botão para adicioná-lo à Pokedex e um outro botão para acessar os detalhes do Pokemon; |
31 | | - - [ ] Header dessa página terá um botão para acessar a página da Pokedex |
32 | | -- **Página Pokédex** |
33 | | - - [ ] Renderizar a lista de pokémons adicionados na pokedex; |
34 | | - - [ ] Em cada card de Pokemon deve ter um botão para removê-lo da Pokedex e um outro botão para acessar os detalhes do Pokemon. |
35 | | - - [ ] Header deve ter um botão para voltar para a Home |
36 | | - - [ ] Não deve ser possível adicionar o mesmo Pokemon duas vezes na Pokedex |
37 | | -- **Página de Detalhes** |
38 | | - - [ ] Mostrar os detalhes do Pokemon selecionado, com informações descritas |
39 | | - - [ ] Header deve ter um botão para adicionar ou remover da Pokedex e outro para voltar a página home. |
40 | | -- [ ] [Criar um readme](https://www.youtube.com/watch?v=1QKwP0SJK-c "Crie um readme") para o projeto; |
41 | | - |
42 | | - |
43 | | -### Instruções de entrega |
44 | | - |
45 | | -- Faça o fork desse repositório e realize o clone da sua cópia `seu-nome-de-usuario/projeto-intro-web`. |
46 | | - <details> |
47 | | - <summary>Quer uma dica?</summary> |
48 | | - <img src="https://firebasestorage.googleapis.com/v0/b/assets-conteudo.appspot.com/o/gerais%2Ffork.png?alt=media&token=7030e997-246a-41fe-a75f-2a2ced61e54d" alt="Como adicionar o projeto no repositório"/> |
49 | | - </details> |
50 | | -- Crie os arquivos do projeto dentro deste repo; |
51 | | -- Execute o fluxo de entrega do git. **Lembre-se de abrir os PRs para seu próprio repositório.** |
52 | | -- Para isso, você precisará fazer o projeto utilizando **branches**. Evite fazer as alterações direto na branch ```main``` |
53 | | - <details> |
54 | | - <summary>Dúvidas sobre o Git & Github?</summary> |
55 | | - <p>Adiciomos um vídeo explicando o <strong>processo de entrega</strong> [do fork ao pull request] no Material Assincrono da Aula de <a href="https://estudante.labenu.com.br/conteudos/tecnico/mod1/Git%20e%20Github">Git e Github</a>. Esse vídeo também exemplifica situações que podem acontecer durante o fluxo de utilização do Git.</p> |
56 | | - </details> |
57 | | -- Faça o deploy do projeto. Pode ser ultilizado o [surge](https://labenu.notion.site/Deploy-de-front-React-com-Surge-f902a03ec1d247dc9af9aee5a1469d96), Github pages ou outra ferramenta que faça a disponibilização do seu site para acesso público; |
58 | | -- Adicionar o link do deploy no readme do seu projeto/repositório: |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | -- Entregue o projeto no [Formulário de entrega](https://docs.google.com/forms/d/e/1FAIpQLSfGGRaglpzWpdREBBfq3eUCMXkRXuiS61Zfyy0L_Ce0uNIXTA/viewform). |
| 1 | +# Getting Started with Create React App |
| 2 | + |
| 3 | +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). |
| 4 | + |
| 5 | +## Available Scripts |
| 6 | + |
| 7 | +In the project directory, you can run: |
| 8 | + |
| 9 | +### `yarn start` |
| 10 | + |
| 11 | +Runs the app in the development mode.\ |
| 12 | +Open [http://localhost:3000](http://localhost:3000) to view it in your browser. |
| 13 | + |
| 14 | +The page will reload when you make changes.\ |
| 15 | +You may also see any lint errors in the console. |
| 16 | + |
| 17 | +### `yarn test` |
| 18 | + |
| 19 | +Launches the test runner in the interactive watch mode.\ |
| 20 | +See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. |
| 21 | + |
| 22 | +### `yarn build` |
| 23 | + |
| 24 | +Builds the app for production to the `build` folder.\ |
| 25 | +It correctly bundles React in production mode and optimizes the build for the best performance. |
| 26 | + |
| 27 | +The build is minified and the filenames include the hashes.\ |
| 28 | +Your app is ready to be deployed! |
| 29 | + |
| 30 | +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. |
| 31 | + |
| 32 | +### `yarn eject` |
| 33 | + |
| 34 | +**Note: this is a one-way operation. Once you `eject`, you can't go back!** |
| 35 | + |
| 36 | +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. |
| 37 | + |
| 38 | +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. |
| 39 | + |
| 40 | +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. |
| 41 | + |
| 42 | +## Learn More |
| 43 | + |
| 44 | +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). |
| 45 | + |
| 46 | +To learn React, check out the [React documentation](https://reactjs.org/). |
| 47 | + |
| 48 | +### Code Splitting |
| 49 | + |
| 50 | +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) |
| 51 | + |
| 52 | +### Analyzing the Bundle Size |
| 53 | + |
| 54 | +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) |
| 55 | + |
| 56 | +### Making a Progressive Web App |
| 57 | + |
| 58 | +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) |
| 59 | + |
| 60 | +### Advanced Configuration |
| 61 | + |
| 62 | +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) |
| 63 | + |
| 64 | +### Deployment |
| 65 | + |
| 66 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) |
| 67 | + |
| 68 | +### `yarn build` fails to minify |
| 69 | + |
| 70 | +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) |
0 commit comments