mobilecame Svelte Themes

Mobilecame

Real-time camera streaming powered by WebRTC and Go.

MobileCame

Real-time camera streaming powered by WebRTC and Go.

Prerequisites

Running Individual Applications

1. Backend

The backend is written in Go and runs on port 8081 by default.

  1. Navigate to the project root.
  2. Install dependencies:
    make deps
    
  3. Run the server using the Makefile:
    make run
    
    Or directly:
    make build && ./bin/server
    

The server will start at http://localhost:8081.

2. Frontend

The frontend is a SvelteKit application located in the frontend directory.

  1. Navigate to the frontend directory:
    cd frontend
    
  2. Install dependencies:
    npm install
    
  3. Run the development server:
    npm run dev
    

The frontend will be available at http://localhost:5173 (default Vite port).

Running with Docker

You can run the entire stack using Docker Compose. This will start both the backend and frontend in containers.

  1. Build and start the services:
    docker-compose up --build
    
  • Backend: Accessible at http://localhost:8081
  • Frontend: Accessible at http://localhost:5173

Top categories

Loading Svelte Themes