Connect-ES Integration 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.
The Angular application was generated with the Angular CLI.
The Next.js application was generated with npx create-next-app buf-nextjs --use-npm --ts and all suggested defaults.
The Plain application was built from scratch with no frameworks at all using just vanilla JavaScript.
All applications underneath this directory use React as the framework. Each is divided by the various tooling differences the related projects were constructed with:
- cra - Generated with Create React App and all associated defaults.
- esbuild - Built from scratch with esbuild as the bundler.
- parcel - Built from scratch with Parcel as the bundler.
- rollup - Built from scratch with Rollup as the bundler.
- vite - Generated with Vite and all associated defaults.
- webpack - Built from scratch with Webpack as the bundler.
- webpack-cjs - Built from scratch with Webpack as the bundler, using CommonJS import syntax.
- yarn-unplugged - Built from scratch with Yarn 3 in unplugged mode.
- yarn-pnp - Built from scratch with Yarn 3 and PnP mode.
Each project also uses various tools for testing, linting, etc. These variances are noted in each project README.
The Remix application was generated with npx create-remix@latest and all suggested defaults.
The Svelte application was generated with npm create svelte <app name> and all suggested defaults.
The Vue application was generated with npm init vue@latest and all suggested defaults.
The React Native application was generated with the Expo CLI and all suggested defaults.
The Node.js directory contains examples involving Connect for Node. There are various server implementations
that will serve both Connect endpoints and the Eliza frontend interface. There are server examples showing vanilla
Node.js (using the http package) and Fastify.
In addition, there is a terminal client that can be run to interact with the servers.