https://github.com/raulrobinson/online-store-infrastructure
Infrastructure solution project for an online product store
https://github.com/raulrobinson/online-store-infrastructure
Last synced: 2 months ago
JSON representation
Infrastructure solution project for an online product store
- Host: GitHub
- URL: https://github.com/raulrobinson/online-store-infrastructure
- Owner: raulrobinson
- Created: 2024-07-07T16:18:46.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T16:23:28.000Z (11 months ago)
- Last Synced: 2025-01-27T04:18:05.664Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 378 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# online-store-infrastructure
Infrastructure solution project for an online product store, with NestJS, React, Kafka...

- Create a KAKFA cluster:
- `docker-compose -f docker-compose.yml up -d`
- Create a KAFKAJS microservice:
- `cd kafka-js`
- `npm install`
- `npm run start:dev`
```bash
curl --location 'http://localhost:3000/kafka/send'
--header 'Content-Type: application/json'
--data '{
"message": "Je m'\''appelle Raul Bolivar Navas et je suis programmeur de software... "
}'
```

```bash
curl --location 'http://localhost:3000/kafka/messages'
```
---
@RASYSBOX | 2024