This document explains how to run Neo4j using Docker for the sf-graph application.
- Docker and Docker Compose installed on your system
# Start Neo4j
docker compose up -d
# In another terminal, run the app locally
npm run devConfigure the application using CLI commands:
# Configure Neo4j connection
sf graph config set neo4jUri bolt://localhost:7687
sf graph config set neo4jPassword your_neo4j_password
# Set default Salesforce org
sf graph config set defaultOrg my-orgBefore syncing, authenticate with Salesforce CLI:
sf org login web --alias my-org- Neo4j Browser: http://localhost:7474
- API (when running locally): http://localhost:3000
- API Documentation: http://localhost:3000/documentation
docker compose downTo remove all data volumes as well:
docker compose down -v