Sign inSign up

achrafyoussef/bizcord-frontend

By achrafyoussef

•Updated 6 months ago

Angular 21 SPA for BizCord, served by nginx — Discord-like real-time team communication.

Image
0

3.6K

achrafyoussef/bizcord-frontend repository overview

⁠Overview

BizCord Frontend is the single-page application for the BizCord platform. Built with Angular 21 (standalone component architecture), it delivers real-time messaging, voice/video channels, direct messages, and server management — all in a polished Discord-inspired UI.

Served by nginx-unprivileged (runs as non-root) on port 8080. nginx also reverse-proxies /api and /ws to the backend container, keeping the app accessible through a single origin.

⁠Image

achrafyoussef/bizcord-frontend:latest

⁠Tech Stack

LayerTechnology
FrameworkAngular 21 (standalone components)
UI ComponentsSpartan UI (Radix-style headless + Tailwind)
State / DataTanStack Query (angular-query-experimental)
Real-timeRxStomp 2.3.0 — STOMP over WebSocket
Voice/Videomediasoup-client 3.x (WebRTC SFU)
StylingTailwind CSS v4
Iconsng-icons / Lucide
Web servernginxinc/nginx-unprivileged:alpine

⁠Environment Variables

VariableRequiredDefaultDescription
BACKEND_URLYes—Internal URL of the backend container, e.g. http://bizcord-backend:8080. Used by nginx at startup to template the reverse-proxy config.

The variable is injected at container start via envsubst in the nginx entrypoint; it is not a build-time argument.

⁠Quick Start (Docker Compose)

frontend:
  image: achrafyoussef/bizcord-frontend:latest
  environment:
    BACKEND_URL: http://bizcord-backend:8080
  ports:
    - "8080:8080"
  depends_on:
    - backend

⁠Exposed Port

The container serves the Angular SPA and proxies API/WebSocket traffic on port 8080.

PathDestination
/Angular SPA (static files)
/api/*Proxied → BACKEND_URL
/wsWebSocket proxied → BACKEND_URL (STOMP)
/uploads/*Proxied → BACKEND_URL (file uploads)

Tag summary

Content type

Image

Digest

sha256:f9c8d182c…

Size

22.7 MB

Last updated

6 months ago

docker pull achrafyoussef/bizcord-frontend