graphql-kafka-subscriptions
Apollo graphql subscriptions over Kafka protocol
File Explorer
Download Latest Version (.zip)- test.yml
- kafka-pubsub-headers.spec.ts
- kafka-pubsub.spec.ts
- child-logger.ts
- index.ts
- kafka-pubsub.ts
- .gitignore
- .npmignore
- docker-compose.yml
- Dockerfile
- LICENSE
- package.json
- README.md
- tsconfig.json
- tslint.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/ancashoria/graphql-kafka-subscriptions
Downloads the entire project code from GitHub to your computer.
cd graphql-kafka-subscriptions
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d --build
Builds and starts all defined containers (server, database, etc.) at once, in the background.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
