A CLI to sync documents from a MongoDB collection to Typesense.
npm install -g typesense-mongodb
typesense-mongodb \
--mongo-collection=collection \
--mongo-database=database \
--typesense-collection=collection \
--mongo-url=mongodb://localhost:27017 \
--typesense-url=http://localhost:8108 \
--typesense-api-key=xyz
Parameter | Default | Description |
---|---|---|
--mongo-database |
database | MongoDB database name |
--mongo-collection |
collection | MongoDB collection name |
--mongo-url |
mongodb://localhost:27017 | MongoDB instance URI along with username and passsword |
--typesense-collection |
collection | Typesense collection name |
--typesense-url |
http://localhost:8108 | Typesense endpoint URL |
--typesense-api-key |
xyz | Typesense API key |
Please open a Github issue or join our Slack Community