Skip to content

Examples for using Connect with various TypeScript web frameworks and tooling.

License

Notifications You must be signed in to change notification settings

drice-buf/examples-es

 
 

Repository files navigation

examples-es

Build

examples-es is a repository of example projects using Connect with various TypeScript web frameworks and tooling. It provides numerous examples for integrating Connect into a project, using both Connect for Web and Connect for Node.

Web

Angular

The Angular application was generated with the Angular CLI.

Astro

The Astro application was generated with npm create astro@latest -- --template basics and all suggested defaults.

Next.js

The Next.js application was generated with npx create-next-app buf-nextjs --use-npm --ts and all suggested defaults.

Plain

The Plain application was built from scratch with no frameworks at all using just vanilla JavaScript.

React

All applications underneath this directory use React as the framework. Each is divided by the various tooling differences the related projects were constructed with:

Each project also uses various tools for testing, linting, etc. These variances are noted in each project README.

Remix

The Remix application was generated with npx create-remix@latest and all suggested defaults.

Svelte

The Svelte application was generated with npm create svelte <app name> and all suggested defaults.

Vue

The Vue application was generated with npm init vue@latest and all suggested defaults.

Mobile

React Native

The React Native application was generated with the Expo CLI and all suggested defaults.

Servers

The server examples make use of Connect for Node.js using various frameworks. All servers serve both Connect endpoints and the Eliza frontend interface. There are multiple kinds of clients available that can be used to interact with the server such as a terminal client and browser clients using both a full-stack setup as well as a CORS setup.

Express

The express directory contains an example involving Connect for Node.js with the Express framework.

Fastify

The fastify directory contains an example involving Connect for Node.js with the Fastify framework.

Vanilla Node.js

The vanilla-node directory contains an example involving Connect for Node.js with vanilla Node.js using the http package.

Cloudflare Workers

The cloudflare-workers directory contains an example involving Connect running on Cloudflare Workers.

Misc

Custom Client Signature

The custom-client directory contains an example demonstrating how to create a custom client signature.

Legal

Offered under the Apache 2 license.

About

Examples for using Connect with various TypeScript web frameworks and tooling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.1%
  • JavaScript 11.5%
  • CSS 5.6%
  • HTML 1.9%
  • Svelte 1.5%
  • Vue 0.7%
  • Astro 0.7%