NodeJS mongo export server run server node index.js Create .env file PORT = server_port MONGO_HOST = ... # default localhost MONGO_PORT = ... # default 3000 SECRET = ... # secret for HTTP client Run server node index.js Make dump http://localhost:3000/make-dump?dbName=DB_NAME