Coder Social home page Coder Social logo

showsapp's Introduction

Shows App

Antes de começar confira o resultado do nosso desenvolvimento no vídeo abaixo


Clique na imagem para ser redirecionado!


template


Este projeto foi desenvolvido a partir do The Vue 3 Bootcamp - The Complite Developer Guide, como proposta de quarto projeto usando o vue 3.

O que vimos neste projeto?

  • App Overview
  • The Process of Fetching Data From an API
  • Creating the App
  • Where to Fetch the Data
  • Making the HTTP Requests
  • The Suspense Component
  • Request Offsets and Limits
  • Implementign Paginations
  • Building the UI
  • Component Lifecycle Hooks
  • Fetching Data With onMounted
  • Slots For Dynamic HTML
  • More on Slots
  • Adding a Better Loading State
  • Creating the Header Component
  • Maintaining State With KeepAlive

Note

Vale ressaltar que para esse projeto usamos duas API's diferente. A primeira: Game Of Thrones API, e a segunda: Rick and Morty API.


Note

Outra questão é que no curso o professor usa outra API para o primeiro caso (Breaking Bad API), mas no momento do curso essa API já não está disponível e por isso ele sugere trabalhar com a Game Of Thrones. Porém, surge outro problema, usando a Game Of Thrones API não é possível realizar a paginação adequada, pois essa API não suporta. Por isso, nesse projeto a paginação não é feita. O código com essa páginação está comentada para enventuais consultas.


Note

Usamos também nesse projeto a Naive UI para renderizar os cards e botões.


Warning

Algumas adaptações foram feitas no código.


🤓



This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

showsApp

showsapp's People

Contributors

amandamatar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.