# Localhost Development Setup

## Current Configuration
- **Server URL**: http://localhost:5000
- **OAuth Redirect URI**: http://localhost:5000/oauth2callback
- **Port**: 5000 (Flask default)

## Google Cloud Console Setup (One-time)

1. Go to: https://console.cloud.google.com/apis/credentials
2. Find your OAuth 2.0 Client ID
3. Edit the credentials
4. Under "Authorized redirect URIs" → Add:
   - `http://localhost:5000/oauth2callback`
5. Under "Authorized JavaScript origins" → Add:
   - `http://localhost:5000`
6. Click Save

## Starting the Development Server

```powershell
python app.py
```

The app will run at: **http://localhost:5000**

## Next: Deploying to Public Domain

When you're ready to deploy:

1. Update app.py with public domain URL (e.g., `https://dashboard.company.com`)
2. Update credentials.json with the public domain
3. Register domain in Google Cloud Console
4. Deploy with SSL certificates

## Current Development Benefits

✅ No SSL certificate issues
✅ Fast development & testing
✅ Easy debugging with Flask debug mode
✅ Can test OAuth flow locally
✅ Prepare code before public deployment
