Skip to content

Latest commit

 

History

History

nextjs

Eliza

This project was bootstrapped as a Next.js project with the command npx create-next-app buf-nextjs --use-npm --ts and all suggested defaults (except for Tailwind for CSS).

Note that this example uses Connect full-stack. It makes use of the server-side https://www.npmjs.com/package/@connectrpc/connect-next package to serve endpoints to the frontend.

Other tools used:

Getting Started

npm install

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Helpful Commands

npm run build

Build the app using Webpack.

npm run generate

Use buf to generate the compiled protos via protobuf-es.

npm run start:production

Previews a built application on port 3000.

npm run lint

Lints application using eslint.