Conceptos b谩sicos de Next.js 14

1

驴Qu茅 es Next.js y por qu茅 aprenderlo si quieres ser frontend senior?

2

Arquitectura de un proyecto de Next.js

3

Herramientas y stack utilizado en el curso

4

C贸mo crear rutas en Next.js

5

C贸mo crear Layout en Next.js

6

C贸mo funciona la navegaci贸n en Next.js

7

Manejo de par谩metros en rutas en Next.js

8

React Server Components en Next.js: notaci贸n "use Client"

9

Creaci贸n de arquitectura de landing page en Next.js

Quiz: Conceptos b谩sicos de Next.js 14

Manejo de estilos y est谩ticos en Next.js 14

10

CSS Modules en Next.js 13

11

Uso de Sass en Next.js

12

C贸mo utilizar estilos globales en Next.js

13

C贸mo agregar archivos est谩ticos en Next.js

14

Manejo y optimizaci贸n de im谩genes con Next Image

15

Optimizaci贸n del componente image en Next.js

16

Optimizaci贸n de fuentes con Next.js

17

Creando estilos din谩micos aplicando condicionales en Next.js

Quiz: Manejo de estilos y est谩ticos en Next.js 14

Data Fetching en Next.js

18

Creaci贸n de tienda de Shopify para un proyecto en Next.js

19

Manejo de variables de entorno en Next.js

20

C贸mo obtener informaci贸n de una API con Next.js

21

Manejo de estado de carga con el archivo loading.tsx

22

Route Grouping en Next.js

23

Manejo de errores en la UI con el archivo error.tsx

Quiz: Data Fetching en Next.js

Next.js Avanzado

24

Implementando p谩ginas de Not Found y error global

25

C贸mo impactan los React Server Components en un proyecto en Next.js

26

Cu谩ndo utilizar layout o template en Next.js

27

Arquitectura profesional para data fetching en un proyecto en Next.js

28

Next.js para backend: manejando rutas con archivos Route Handlers

29

Proyecto: implementando la p谩gina de tienda

30

Patrones de data fetching en Next.js

31

Proyecto: filtrando categor铆as de productos

32

Data fetching de par谩metros en el servidor y cliente

33

Proyecto: p谩gina de producto y arreglos en el sitio

34

C贸mo funciona el Fetch y el Cach茅 de Next.js

35

Revalidando cache con revalidateTag y revalidatePath en Next.js

36

C贸mo hacer redirects en Next.js

37

Proyecto: HTML din谩mico en la descripci贸n del producto

38

Mejorando SEO de una p谩gina en Next.js

Quiz: Next.js Avanzado

Autenticaci贸n y autorizaci贸n

39

Manejando autenticaci贸n y autorizaci贸n con Storefront AP脧 de Shopify

40

Server Actions en Next.js

41

Proyecto: proceso de Sign-Up con GraphQL

42

Manejo de cookies para colocar un token de acceso de un proyecto en Next.js

43

C贸mo implementar un flujo de login en un proyecto en Next.js

44

Validando token de acceso de usuario en un proyecto en Next.js

45

Proyecto: implementando el carrito de compras

46

Manejo de estado global con zustand en Next.js

47

Proyecto: agregando items al carrito de compras

48

C贸mo integrar el checkout de Shopify a un proyecto en Next.js

49

Implementar middleware en proyecto en Next.js para protecci贸n de rutas

Inteligencia Artificial

50

Creando componente de chatbot de ventas con la SDK IA de Vercel

51

Implementaci贸n de un bot de ventas en una app Next.js

Performance

52

Optimizaci贸n de carga con parallel routing en Next.js

53

An谩lisis de bundle para Next.js 14

Quiz: Performance

Frontend Ops

54

Edge runtime

55

Despliegue de un proyecto Next.js en Vercel

56

Mejores pr谩cticas en arquitecturas empresariales

Quiz: Frontend Ops

Next.js es parte de tu nuevo stack

57

隆Has creado un proyecto en Next.js!

You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesi贸n a prueba de IA

Antes: $249

Currency
$209
Suscr铆bete

Termina en:

2 D铆as
3 Hrs
30 Min
43 Seg
Curso de Next.js 14

Curso de Next.js 14

Enrique Devars

Enrique Devars

Herramientas y stack utilizado en el curso

3/57
Resources

What is the technology stack to create the store with Next.js?

To develop an online store using Next.js, we will make use of a well-selected technology stack that includes Shopify, Postman and Vercel. This set of tools will provide us with a complete environment to handle both front-end and back-end efficiently.

What is Shopify and how is it used?

Shopify is an e-commerce platform that will facilitate the creation and management of our online store. It allows us to manage products, customers and record sales from an intuitive interface. In addition, it provides two types of essential documentation:

  • Administration: Helps you manage your store, allowing you to update products and interact with customers.
  • Storefront API: Uses GraphQL to connect our ecommerce with external customers. It is highly documented for ease of use.

How will Postman be used in this course?

Postman is an indispensable tool for making API requests, both in GraphQL and REST, making it an ideal choice for exploring and verifying Shopify APIs.

  • Download and configuration: You can download Postman for Windows, Mac or Linux.
  • Configuration import: We will provide JSON files containing the necessary configurations for collections and environments in Postman.

What is the role of Vercel in our project?

Vercel is the platform we will use to deploy our application. Created by the same company that developed Next.js, it offers a simplified deployment process that supports Edge Functions, among others. With just one click we will be able to deploy our Next.js applications.

How to configure and use Postman?

Postman will be fundamental to interact with Shopify APIs and execute our queries.

How to import collections and environments?

To work efficiently, it is crucial that you import collections and environments into Postman. These JSON files will be available for download in the resources section.

  1. Import collections:

    • Navigate to "Settings" > "Data" and select "Import Data File."
    • Import the provided JSON collections file.
  2. Import environments:

    • Navigate to "Environment" in Postman.
    • Import the environment file, such as "FutureWord", which contains key variables such as authentication token and store name.

Configuring GraphQL requests in Postman

To perform GraphQL queries with Postman, follow these steps:

  1. Create a new collection:

    • Rename the collection, for example, "FutureWord GraphQL".
  2. Set up a new request:

    • Use Command-N or Control-N to create a request.
    • Enter the Shopify API endpoint, for example, https://tu-shopify-hostname/api/2023-04/graphql.json.
  3. Add necessary headers:

    • Include Shopify-specific headers, especially the authentication header, using the configured environment variables.
  4. Execute queries:

    • Write and execute GraphQL queries directly from Postman.

These configurations will ensure an efficient connection to the APIs, allowing data exploration and manipulation in Shopify.

How does the Shopify authentication system work?

The authentication system with Shopify is simple but crucial for query execution. Learn how to manage your Storefront Token to ensure authorized access, and learn how to troubleshoot common authentication issues during the testing phase, ensuring all your requests are valid and secure.

With this stack and well configured tools, we will be ready to successfully create and manage our online store, so be sure to follow every step and watch our store come to life!

Contributions 19

Questions 4

Sort by:

Want to see more contributions, questions and answers from the community?

Se adelantaron ala fecha de navidad, porque me dieron un regalo muy bueno!! este curso es una joya ya que actualmente estoy trabajando con next.js y que mejor que obtener m谩s conocimiento de esta hermosa herramienta :)
Perd贸n me perd铆, debo crear una cuenta/tienda en shopify?
```js query{ products(first: 3) { edges { node { id title } } } } ```聽 聽 query{聽 聽 聽 products(first: 3) {聽 聽 聽 聽 edges {聽 聽 聽 聽 聽 node {聽 聽 聽 聽 聽 聽 id聽 聽 聽 聽 聽 聽 title聽 聽 聽 聽 聽 }聽 聽 聽 聽 }聽 聽 聽 }聽 聽 }

A mi no me da error, sino que se queda cargando y no acaba de cargar.

2024 Shopify dev: <https://shopify.dev/docs/api/storefront#authentication>
Alguien que tenga los archivos JSON porque yo no los encuentro

query { products(first: 3) { edges { node { id title } } } }

Pa cuando uno de FastAPI con Next馃槈
Tuve que desinstalar Postman y volver a instalarlo para que pudieran levantar los archivos de environment y collection. Despu茅s de eso, anduvo sin problemas.
No me figura aun el apartado de Recursos
No hay secci贸n de recursos
{ "errors": \[ { "message": "", "extensions": { "code": "UNAUTHORIZED" } } ]}
Ni el ctrl M ni el cmd M me funcionan
Para los que agregar贸n el endpoint y les salia聽"errors": "\[API] Invalid API key or access token (unrecognized login or wrong password)" . Es porque les falto agregar el "Authorization". ![](https://static.platzi.com/media/user_upload/image-bc196d9b-38fb-479b-b0ba-76f132a659a7.jpg)
21-06-2024: Url: https://{store\_name}.myshopify.com/api/2024-04/graphql.json Query: { products(first: 3) { edges { node { id title } } } }
/api/2024-04/graphql.json <https://shopify.dev/docs/api/storefront#authentication>
Me parece interesante poder hacer esta conexi贸n, pero alguien podr铆a ilustrarme 驴Para que utilizar铆amos shopify o cualquier CMS con next.js? Si el mismo shopify ya tiene trabajado el frontend y que seg煤n yo, lo deben tener muy optimizado para evitar problemas de UX. 馃
Si quieran alguna alternativa a postman usen \[hoppscotch.io]\(hoppscotch)
Yo voy a usar trpc