Skip to content

mat-twg/example-gateway

Repository files navigation

Example gateway api

Гибридный бекенд rest/ws для тестового задания, работает с mongodb

Пример конфигурации

# .env.local

NODE_ENV=dev

SERVICE_NAME=gateway

ZMQ_ADDRESS=tcp://127.0.0.1:5000
ZMQ_CURVE_SERVER_KEY='E$+qI6#?kvsAlAR4o7+1JgQt:*8LmC1dKtSrTS^D'

MONGO_USERNAME=root
MONGO_PASSWORD=password
MONGO_SUBNET=172.16.101.0/24
MONGO_GATEWAY=172.16.101.1
MONGO_URI=mongodb://root:password@172.16.101.2:27017/
MONGO_IP=172.16.101.2

Running the app

make up && yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published