Usada pekora discord bot, notify new videos from usada pekora youtube channel and reacts to text messages HA↗HA↘HA↗HA↘HA↗HA↘
This project is developed in mind of learning design patterns, hexagonal architecture and a basic approach to DDD. So I plan to release some day a stable release with basic features but the development speed is too slow by learning things and the overengineering caused by using the design patterns mentioned above.
Requeriments
- Make
- NodeJS >= 18
- Openjdk 17
- Gradle
Create the .env
file from the .env.example
files on the directories under apps
directory.
$ make env-files
For build backend applications run the gradle build
command.
For build frontend applications run the npm install
command for install dependencies and develop with
npm run dev
You need a running instance of MongoDB, Redis and RabbitMQ. You can run this instances with the provided docker-compose.yml
Create .env file for containers and put its contents
$ make env-files # if you don't run it
Edit the .env.docker
for the application containers and .env.infrastructure
for the infrastructure containers such redis, rabbitmq and mongodb.
Run all containers
$ docker compose up -d --build
Run tests for each application
$ make docker-backend-test # for run backend tests
$ make docker-discord-bot-test # for run discord bot tests
- peko!feed (on|off) - Enable or disable YouTube notifications on the current channel
The sound triggers are configured in the new frontend (in development)