Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dz1kill/server_to_server_http_fastify
Scheme: client - server - server, all communication takes place via http protocol.
https://github.com/dz1kill/server_to_server_http_fastify
fastify microservice swager typescript zod
Last synced: about 2 months ago
JSON representation
Scheme: client - server - server, all communication takes place via http protocol.
- Host: GitHub
- URL: https://github.com/dz1kill/server_to_server_http_fastify
- Owner: dz1kill
- Created: 2023-08-09T07:59:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-09T09:39:52.000Z (over 1 year ago)
- Last Synced: 2024-09-23T06:02:48.803Z (3 months ago)
- Topics: fastify, microservice, swager, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Two servers.
Server_a receives data from the client and sends it to server_b.
Server_b processes the data and returns to server_a.
Server_a returns the processed data to the client.
Communication between server_a and server_b via http protocol.Stack: Fastify, Swagger, TypeScript, Zod.
## Running the app
```bash
# In the new terminal go to the server_a directory.
$ cd server_a# Install dependencies.
$ npm install# Start server server_a:
$ npm run dev# In the new terminal go to the server_b directory.
$ cd server_b# Install dependencies.
$ npm install# Start server server_b:.
$ npm run dev```
## Test
Documentation (Swagger UI) is available at: [link] http://localhost:3000/api/
node v16.14.2