Create Nuxt.js Universal Apps using GraphQL on Postgres
This article demonstrates how to create a Universal Application using Nuxt.js and Hasura GraphQL Engine. The application is a blog-like app that displays a list of authors and their articles. Nuxt.js, a Vue.js framework, enables server-side rendering (SSR) for Vue applications, making it possible to build universal applications. In this project, the apollo module is used to fetch data from GraphQL endpoints. The application's implementation includes setting up Nuxt.js, configuring Apollo Client, defining GraphQL queries, and creating pages that display authors and articles. The boilerplate code for this tutorial can be found on GitHub.
Company
Hasura
Date published
April 11, 2022
Author(s)
Praveen Durairaju, Catalin Pit
Word count
1294
Language
English
Hacker News points
None found.