Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 330 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 330 Bytes

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