Follow these steps to set up and run JavaFlow Visual Studio locally or inside containers.
Docker Compose starts the backend, frontend, and MongoDB databases instantly, with volume mounts configured to enable local file exports.
From the project root directory, run:
docker-compose up -d --buildThis command builds the Spring WebFlux environment, compiles the React application bundle, starts the MongoDB container, and launches Nginx to serve the static frontend.
Check that all three containers are active:
docker-compose psIf you prefer to run the components individually:
Run a local MongoDB instance:
docker run -d -p 27017:27017 --name javaflow-mongo mongo:7.0Navigate to the backend folder and boot the Spring Boot application:
cd backend
./mvnw clean install
./mvnw spring-boot:runThe REST API will bind to http://localhost:8080.
Navigate to the frontend folder and start the React dev server:
cd frontend
npm install
npm startThe browser will automatically open the dashboard at http://localhost:3000.
When you design a workflow (e.g. Posts) and click Save Workflow:
- The studio prompts you to enter a target export path (defaults to
/Users/kathi.s/JF/Posts). - The backend generates the Java class structure, writes them to the path, and fires a Maven resolve command to download dependencies to
~/.m2. - Ensure the target path folder has write permissions so the container can write to your local directory.