# Safe Choices Frontend Frontend interface for the Safe Choices prediction market simulation tool. ## Setup 1. Navigate to the frontend directory: ```bash cd frontend ``` 2. Install dependencies (optional - uses npx, so no install needed): ```bash npm install ``` ## Running Start the development server: ```bash npm run start ``` This will: - Start a local HTTP server on port 3000 - Automatically open the browser to the application - Serve the static files with proper MIME types For development with auto-reload (no caching): ```bash npm run dev ``` ## Features - **Single Fund Simulation**: All capital in one fund - **Single Fund Threshold**: Stop at target return (Treasury rate or NASDAQ average) - **Multi Fund Simulation**: Diversified portfolio with multiple independent funds ## Configuration All simulation parameters can be configured through the web interface: - Starting capital - Number of simulations - Probability thresholds - Market selection skew - Target returns (for threshold simulations) - Number of funds (for multi-fund simulations)