Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nnqq/vk-bots-constructor
- Owner: nnqq
- License: mit
- Created: 2019-07-17T20:54:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:21:48.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T13:32:16.422Z (over 1 year ago)
- Topics: nodejs, vk, vk-api, vk-bot
- Language: TypeScript
- Homepage:
- Size: 823 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)