RSS news aggregator
Component | Stack |
---|---|
rss parser | node.js / mongodb / axios / amqplib |
api | node.js / fastify / jwt / mongodb / websockets |
frontend | vue / vuex / vue router / axios / jwt / websockets |
amqp | rabbitmq |
Live demo: super.ba - news feed aggregator
- Clone repo:
git pull https://github.com/aarsla/super.ba.git && cd super.ba
- add
127.0.0.1 api web mongodb
to your hosts file - install dependencies and create default docker .env files:
cd api && yarn install && cp env.dist .env
cd ../parser && yarn install && cp env.dist .env
cd ../web && yarn install && cp env.dist .env
- Start docker
docker-compose up -d
- Check dozzle logs at
http://localhost:9999
Open up your browser and visit
- Frontend:
http://localhost/
- Api swagger docs:
http://localhost:3355/documentation
- Rabbitmq admin:
http://localhost:15672
(guest/guest)
chmod +x docker/cli.sh
- Help:
docker/cli.sh --help
- Example: send random article to connected clients:
docker/cli.sh sender