Skip to content

larbisahli/nextjs-ssr-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Next.js SSR using gRPC

We are going to use the following packages to build our application:

  • next: next (Next.js) is an open-source development framework built on top of Node.js enabling React based web applications.
  • @grpc/grpc-js: gRPC Library for Node - pure JS implementation.
  • @grpc/proto-loader: A utility package for loading .proto files for use with gRPC.

Generate the types:

yarn proto-gen-types

Starting Nextjs server:

cd client
yarn dev

Starting gRPC server:

cd server
yarn build
yarn dev

About

Nextjs server side rendering data using grpc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published