Skip to content

virtualidentityag/vi-connecta-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5,014 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onlineBeratung-frontend

The frontend app for the Online Beratung.

Please refer to the hosted documentation for setup instructions.

Development Setup

Backend Proxy

The development server is configured with a reverse proxy that forwards backend requests to a remote backend. By default, it uses:

https://happylife.develop.onlineberatung.net

This means you can develop locally without needing to run the backend service. All API calls will be proxied to the remote development backend.

Proxied Paths

The following paths are automatically forwarded to the backend:

  • /service/* - Service API endpoints
  • /api/* - API endpoints
  • /auth/* - Authentication endpoints
  • /websocket - WebSocket connections for real-time features

Customizing the Backend URL

To use a different backend, set the VITE_API_URL environment variable:

VITE_API_URL=https://your-backend.example.com npm run dev

Or create a .env file in the project root:

VITE_API_URL=https://your-backend.example.com

The proxy ensures that:

  • All requests to localhost:5173/service/*, localhost:5173/api/*, localhost:5173/auth/*, and localhost:5173/websocket are forwarded to the configured backend
  • WebSocket connections are supported for /websocket and /service/live/* endpoints
  • HTTPS is used with port 443 (standard)
  • CORS headers are properly handled with changeOrigin: true

About

The frontend repository is used as the "main" repository in terms of collecting issues and feature requests

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 85.2%
  • SCSS 12.8%
  • Other 2.0%