Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nnqq/vk-bots-constructor

💬 VK bots constructor
https://github.com/nnqq/vk-bots-constructor

nodejs vk vk-api vk-bot

Last synced: 9 days ago
JSON representation

💬 VK bots constructor

Awesome Lists containing this project

README

        

# vk-bots-constructor

This project is VK.com bots constructor backend app. It's like a simplified [robochat.io](https://robochat.io)

Built with: TypeScript, Node.js microservices, NATS as message broker, MongoDB, and Hapi.js as web-framework

## Run dev environment

First of all, you should read `eco/ecosystem.config.js` file and paste some VK app data and webhook url to environment variables

Well. You need to start NATS and MongoDB

```
docker-compose up -d
```

Install all dependencies and let PM2 to work with TypeScript

```
npm i
```

## Run tests

```
npm test
```

## Start microservices with PM2

```
npm start
```

Open http://0.0.0.0:4000/api/docs and watch for api documentation. Enjoy!

## Contact author

[Telegram](https://t.me/aveDenis)