Content Deep Dive
Create Nuxt.js Universal Apps using GraphQL on Postgres
Blog post from Hasura
Post Details
Company
Date Published
Author
Praveen Durairaju, Catalin Pit
Word Count
1,294
Language
English
Hacker News Points
-
Summary
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.