Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/balmacefa/fbr_function_tool_kit


https://github.com/balmacefa/fbr_function_tool_kit

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

        

# Fastify adapter example

- Fastify server with WebSocket
- Simple tRPC client in node
- Try it live on [CodeSandbox](https://codesandbox.io/s/github/trpc/trpc/tree/main/examples/fastify-server)
- Adapter [documentation](https://trpc.io/docs/fastify)

If you want to test this example locally, follow the steps below.

### Clone, Install and build main project

```bash
git clone [email protected]:trpc/trpc.git
cd ./trpc
yarn
yarn dev
```

### Install fastify example and run it in dev mode

```bash
cd ./examples/fastify-server
yarn
yarn dev
```

### If you want you can build and start from the fresh build

```bash
yarn build
yarn start
```

---

Created by [skarab42](https://github.com/skarab42)